No such thing as a small change | |
PerlMonks |
Re: Cron Jobs That Run For Too Longby shriken (Priest) |
on Dec 20, 2005 at 20:45 UTC ( [id://518182]=note: print w/replies, xml ) | Need Help?? |
...or put your two crontab entries on one line: Use unix shell boolean "and" to force the shell to run multiple commands one by one... cd /foo/dir && ./runcmd_1.pl && cd /foo2/dir2 && ./runcmd_2.pl or write simple shell script... and schedule the shell script. I prefer the later because your crontab doesn't get messy and you can include mucho comments in the shell script
In Section
Seekers of Perl Wisdom
|
|