Xymon Mailing List Archive search

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

list Asif Iqbal
Thu, 26 Jul 2007 07:17:10 -0400
Message-Id: <user-e5893973a545@xymon.invalid>

On 7/26/07, Rolf Schrittenlocher <user-af137d856faa@xymon.invalid>
wrote:
Hi,

workaround: let it run every day and exit if it isn't the first day of
the month

And you can use this ` date +%b ' as the extension of a lock file


Rolf
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
bash-3.00$


T.J. Yang

http://liveearth.msn.com

--
Mit freundlichen Gruessen
Rolf Schrittenlocher

HRZ/BDV, Senckenberganlage 31, 60054 Frankfurt
Tel: (XX) XX - XXX XXXXX   Fax: (XX) XX XXX XXXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-6ea8e907e200@xymon.invalid

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu