From 8b747028533b48bf37a8a937329c4ef2cb20e026 Mon Sep 17 00:00:00 2001 From: Brad Clawsie Date: Fri, 7 Jul 2023 18:23:21 -0500 Subject: update --- tarsnap/delete_tarsnap.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tarsnap/delete_tarsnap.pl') diff --git a/tarsnap/delete_tarsnap.pl b/tarsnap/delete_tarsnap.pl index 6199513..e9d6493 100644 --- a/tarsnap/delete_tarsnap.pl +++ b/tarsnap/delete_tarsnap.pl @@ -1,14 +1,14 @@ #!/usr/bin/env perl -use v5.32; +use v5.36; use strict; use DateTime; my $ip_out = `ip -4 addr show`; -die 'not actual b7j0c.org; not running' unless ($ip_out =~ /inet 144.202.72.212/); +die 'not actual b7j0c.org; not running' unless ($ip_out =~ /inet 149.28.248.5/); my $dt = DateTime->now(); $dt->set_time_zone('America/Chicago'); -my $prefix = 'b7j0cdebian_'; +my $prefix = 'b7j0c_'; my $prefix_yyyymmdd = $prefix . $dt->ymd(''); my $prefix_reserve_yyyymmdd = $prefix . $dt->subtract('days'=>1)->ymd(''); say "today:\t\t" . $prefix_yyyymmdd; -- cgit v1.2.3