I think that did it.....

I'll be monitoring




             Adam Thornton
             <[EMAIL PROTECTED]
             mine.net>                                                  To
             Sent by: Linux on         [email protected]
             390 Port                                                   cc
             <[EMAIL PROTECTED]
             IST.EDU>                                              Subject
                                       Re: Cron question

             02/10/2005 12:03
             PM


             Please respond to
             Linux on 390 Port
             <[EMAIL PROTECTED]
                 IST.EDU>






On Feb 10, 2005, at 11:51 AM, James Melin wrote:

> It is not firing.... I'm not sure if I have the syntax correct to have
> it
> run every 3 min
>
> 1-59/3 * * * *       cd /home/statmon ; status.sh  1> /dev/null 2>
> /dev/null
>
> If I understand this correctly Minutes 1-59, every three minutes, is
> what I
> am asking it to do....
>
> I used the crontab -e {username} per your suggestion, but it appears to
> have changed nothing.
>
The current directory should not be in the Unix path.  So try making
the command

. /home/statmon/status.sh 1&2>/dev/null

and see if that helps.  (I assume status.sh doesn't need to be run from
/home/statmon, but if so, cd there first.

Adam

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to