4 Aug
2004
4 Aug
'04
19:00
Every 18 hours huh? 18 is a multiple of 6. 6*3 is 18, 6*4 is 24. Every 18 hours would be 6, 24, 18, 12. Run the cron job at all of these times, have it check for a file /tmp/should_run that gets generated when the script should run. On Wednesday 04 August 2004 12:22, C Hamel wrote:
I need a script to execute every 18 hours w/o having to change the crontab daily, if possible. I have tried sleeping/recalling script but, of course, one has to then kill a bunch of pids for older executions of the same script ...but at least not daily, I don't suppose.
Is there a cleaner way of doing this?
Thanks! -- ...CH "The more they over-think the plumbing, the easier it is to stop up the drain." Scotty