[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: correct use of root crontab



Hi,

you may try  0-59/5 instead of */5 for the first entry (minute entry) since, */5 may not be supported on all systems.

Any other pointers?!

Rgds, Ravi

On Wed, Mar 4, 2009 at 4:26 AM, Frank DiGravina <digravin@umn.edu> wrote:
Hello,

I need some clarification.  I am trying to launch the following script called mrtg:

it looks like:

*/5 *    * * *    root    if [ -x /usr/bin/mrtg ] && [ -r /etc/mrtg.cfg ]; then env LANG=C /usr/bin/mrtg /etc/mrtg.cfg 2>&1 | tee -a /va
r/log/mrtg/mrtg.log ; fi

It sits in /etc/cron.d.  The problem - it does not launch.  Is this the correct location.  The doc is confusing.


Thank-you.

Frank



--
Frank DiGravina
University of Minnesota
Networking & Telecommunications
Network Operations
Phone: 612-626-9074
Cell:  612-386-0449
E-Mail: digravin@umn.edu
Helpline: 612-301-HELP


--
To UNSUBSCRIBE, email to debian-live-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




--
Ravishankar Haranath
http://www.linmaya.net

Reply to: