[hobbit] How do I run a hobbit ext script at 1st day of every month ?

Ralph Mitchell ralphmitchell at gmail.com
Thu Jul 26 14:02:07 CEST 2007


On 7/26/07, T.J. Yang <tj_yang at hotmail.com> wrote:
> Is there a way to configure a scrip to be run at specific day of the
> moth/year ?
> like cronjob or at command.
>
> I have a metric script that need to be run at first day of each
> month.Following
> example is not really what I need.
>
> [metrics]
>         ENVFILE /etc/opt/hobbitserver42/hobbitserver.cfg
>         CMD $BBHOME/ext/metrics/avail.ksh
>         LOGFILE $BBSERVERLOGS/avail.ksh.log
>         INTERVAL 4320m


Why not run it out of cron, in the same way you might test a script:

     bbcmd $BBHOME/ext/metrics/avail.ksh

That'll set up the environment for you as if Hobbit were running it.

Ralph Mitchell



More information about the Xymon mailing list