DOWNTIME=60:*:*,W:1800:0759
60 declaring Saturday and Sunday (last, first days of the week) separator all time separator all time
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
On Tue, Apr 28, 2009 at 1:03 PM, Malcolm Hunter <malcolm.hunter at gmx.co.uk>wrote:
In reponse to your post, I have tried specifying the time to be DOWN in the DOWNTIME synatx but that man page says just the opposite:
"E.g. to monitor a site 24x7, except between noon and 1 pm, use DOWNTIME=*:0000:1159,*:1300:2359"
This statement puts in the time the system should be UP not DOWN...
Silly question, I assume but you are putting DOWNTIME on the host line?
e.g.
10.0.0.2 hostname # conn DOWNTIME=*:0200:0229
For my setup I only want working hours:
10.0.0.2 hostname # conn DOWNTIME=60:*:*,W:1800:0759
This excludes weekends and evenings (and works perfectly).
Regards, Malcolm
-- Technical copy-editor & proofreader
KDE Proofreading Team KDE British English Translation Team
http://l10n.kde.org/team-infos.php?teamcode=en_GB
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk