On Mon, 12 Aug 2002, Joeffrey Betita wrote:

>  hi i would like to add this on my crontab. 0 12 * * * cd
> /home/joeffrey/chkrootkit-pre-0.36; ./chkrootkit 2>&1 | mail -s
> "chkrootkit ouput" root
> but when i try to save it this error message came up. crontab: installing new
> crontab "/tmp/crontab.22301":3: bad hour errors in crontab file, can't
> install.

have you tried:
0 12 * * * script_name

where the content of the script_name is:
cd /home/joeffrey/chkrootkit-pre-0.36; ./chkrootkit 2>&1 | mail -s
"chkrootkit ouput" root

regards,
---
Andre M. Varon, SCSA
http://andre.lasaltech.com

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to