then just execute setup.bat!open (BAT, ">setup.bat") || die $!; for (my $i = 2; $i <= 24; $i += 2) { print BAT "at $i:00 /every M T W Th F S Su somejob.bat\r\n"; }
Lighthearted tone aside, I have used perl to generate everything from batch files to 3D Studio MAX scripts to perl modules.
In reply to Re: Scheduling with Perl?
by Cabrion
in thread Scheduling with Perl?
by EyeOpener
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |