Web Hosting Talk







View Full Version : swatch is /etc/crontab


addady
04-11-2002, 07:24 AM
I'm not understand the meaning for this line in /etc/crontab

0,15,30,45 * * * * root /usr/local/sbin/swatch >>/var/cobalt/adm.log 2>&1

What ">>/var/cobalt/adm.log 2>&1" mean ?


Addady

cyrusTvirus
04-11-2002, 07:33 AM
Originally posted by addady
I'm not understand the meaning for this line in /etc/crontab

0,15,30,45 * * * * root /usr/local/sbin/swatch >>/var/cobalt/adm.log 2>&1

What ">>/var/cobalt/adm.log 2>&1" mean ?


Addady

Your cobalt is checking your functions every 15 minutes to see if they are working properly and that is written in a log file.

HTH Robbert

addady
04-11-2002, 08:05 AM
Yes I know, but
what the meaning of ">>/var/cobalt/adm.log 2>&1" ?

what >>
and
what &1
?

cyrusTvirus
04-11-2002, 08:07 AM
Append to last line I think