Cron Confusion.. Continued... *ugh*

Jason 'XenoPhage' Frisvold friz at godshell.com
Wed Aug 31 20:11:15 EDT 2005


*Help!*

I'm apparently missing something, or doing something wrong, or maybe
even completely misunderstanding this feature..  The goal is to
automatically override at 4 am, for an hour.  The example on the
documentation page of the site actually has 6 fields in the cron
command, but I was told previously that that was incorrect...

I'm running Argus dev-20050720

So, here's a snippet of my config.  Can someone please tell me what I'm
doing wrong??

         Service SYS/disk {
            uname: usr2
            label: usr2
            arg: /usr2
            graph: yes
            maxvalue: 5
            cron "0 4 * * *" {
               func: override
               text: Backup In Progress
               expires: 3600
               mode: manual
            }
         }

This is from the log last night :

Wed 31 Aug 04:49:27 2005 	up 	TRANSITION - up
Wed 31 Aug 04:24:27 2005 	down 	TRANSITION - down


It *did* work..  once...  :

Wed 24 Aug 05:00:49 2005 	up 	OVERRIDE - removed by system
Wed 24 Aug 05:00:49 2005 	up 	OVERRIDE - expired
Wed 24 Aug 04:44:27 2005 	up 	TRANSITION - up
Wed 24 Aug 04:00:49 2005 	down 	OVERRIDE - enabled by *internal-cronjob*
Wed 24 Aug 04:00:49 2005 	down 	OVERRIDE - Backup In Progress


-- 
---------------------------
Jason 'XenoPhage' Frisvold
Engine / Technology Programmer
friz at godshell.com
RedHat Certified - RHCE # 803004140609871
MySQL Pro Certified - ID# 207171862
MySQL Core Certified - ID# 205982910
---------------------------
"Something mysterious is formed, born in the silent void. Waiting alone and unmoving, it is at once still and yet in constant motion. It is the source of all programs. I do not know its name, so I will call it the Tao of Programming."



More information about the Arguslist mailing list