while (sleep 2) { foreach my $site (@sites) { BackupLogFiles($site) if (BetweenHoursOf($maintenance_start,$maintenance_stop)); } }
in BackupLogFiles and your continuous loop, is that neccesary?if (BetweenHoursOf($maintenance_start,$maintenance_stop));
In reply to Re^3: Can't Stop my PerlSvc
by bsdz
in thread Can't Stop my PerlSvc
by noslenj123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |