On Tuesday 19 September 2006 12:42, Charles Jones wrote:
I need to ext script to run every hour, exactly on the hour. Am I correct in assuming that if I use "INTERVAL 60m", that this simply launches that script every hour from when the hobbit client was started?
It would be nice if, INTERVAL had an extra option to indicated exactly when you wanted to launch, maybe even using a similar format to cron, ie:
INTERVAL 00 * * * * would launch at the top of every hour INTERVAL 30 06 * * * would launch at 6:30am daily
Is there a reason you don't just run it out of cron? Eg
00 * * * * hobbit /path/to/hobbit/home/client/bin/bbcmd /path/to/hobbit/home/client/ext/myscript.sh
in /etc/crontab.
-- Buchan Milne ISP Systems Specialist B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)