4 Aug
2004
4 Aug
'04
17:32
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!
I suppose you could have it run every hour and decrement a counter from 18 and execute the main part of the script, when it hits 0, and then reset the counter.