in reply to Re: Scheduling with Perl?
in thread Scheduling with Perl?
And then verify that the hour is not % 2 to run every half hour in the script.30 * * * * echo "run every half hour"
Psudocode: if (! $currenthour % 2) { dostuff; } else { exit 0; #oopsie it is an even hour just exit }
|
|---|