crontab doesn't work
    Demian 
    lists at dlfws.net
       
    Fri Mar 24 21:03:55 UTC 2006
    
    
  
Rodrigo G. Tavares de Souza wrote:
> Hi,
> 
>   Do I have to start something to crontab works?
> 
> configuration file:
> #  MIN    HOUR   DAY/MONTH   MONTH   DAY/WEEK     USER        COMMAND
>   59      23         *        *        *         root        
> "/usr/local/etc/sarg/make-report"
>   0       0          *        *        0         squid       
> "/usr/local/etc/sbin/squid -k rotate"
> 
>  It should generate a report every day, and clear the log file every 
> week, but it isn't hapaning!
>  What do I suppose to do?
> 
Hello,
I checked my crontabs and I don't have double quotes around the 
path/script name. You could try to remove them.
Do the scripts work if you run them from the command line?
To check if cron is running, issue this command:
ps auwx | grep cron
The output should look something like this:
root     421  0.0  0.2  1312   896  ??  Is    8Mar06   0:05.41 
/usr/sbin/cron -s
If cron isn't running, try this:
/etc/rc.d/cron start
Hope this helps,
Demian
    
    
More information about the freebsd-questions
mailing list