howto start a perl script only from tuesday to friday at 8.00 am ?
hi
howto start a perl script from cron every morning from tuesday to saturday at 8.00 am ? kind regards cccc |
Sounds like a job for cron -- here's the line you'd add to crontab:
0 8 * * tue-sat /path/to/perl/script Depending on your cron version, you may have to give a comma separated list of days in the 5th field (some don't understand the tue-sat notation). Reading man crontab will tell you more. |
sorry, but my cron seems doesn't understand the tue-sat notation.
|
Then use 2-6 or 2,3,4,5,6 -- I think that will work with about every modern cron.
|
thanks !
|
All times are GMT -5. The time now is 08:57 AM. |