Cron is not running

Bob McClure Jr robertmcclure at earthlink.net
Fri Dec 30 03:03:30 UTC 2005


On Fri, Dec 30, 2005 at 12:31:39AM -0200, Rodrigo Faria Tavares wrote:
> Hello,
> 
> I create in /var/spool/cron 
> 
> the file root, but the tasks to execute isn't running.

Don't do that.  That's the hard way.  Plus you have to restart or
reload crond.

> [root at mailserver ~]# crontab -l
> #Clamav Antivirus -
> */30 * * * *    /usr/local/bin/freshclam
> 
> # Mirrot
> 00 00 * * * *   /usr/sbin/mirroring

That has too many time arguments.  Take out one of the "*"s.

> How I can to resolve this problem ? 

Create or edit your crontab using

  crontab -e

That will bring up an editor (vi or $VISUAL or $EDITOR) to edit the
crontab file, and then when you save and exit, it will reload cron.

Also, you may find messages about errors in your crontab either in
/var/log/cron or /var/log/messages.

> Rodrigo Faria Tavares
> e-mail : rodrigofariat at yahoo.com.br
> Analista de Suporte Linux

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
robertmcclure at earthlink.net  http://www.bobcatos.com
Peace begins not at a Mideast table, but at a Mideast stable




More information about the Redhat-install-list mailing list