[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] clientlaunch.cfg INTERVALs
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] clientlaunch.cfg INTERVALs
- From: Buchan Milne <bgmilne (at) staff.telkomsa.net>
- Date: Tue, 19 Sep 2006 13:06:18 +0200
- Cc: Charles Jones <jonescr (at) cisco.com>
- Organization: Telkom Internet
- References: <450FC9AC.20201@cisco.com>
- User-agent: KMail/1.9.4
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)