Help for this page

Select Code to Download


  1. or download this
    my %BACKUP_DAY = (
       Sunday    => 0,
    ...
    chomp(my $runday = `/bin/date +%A`);
    my $slot = $BACKUP_DAY{$runday};
    print "Slot Number is $slot\n";