View Single Post
  #6   (View Single Post)  
Old 16th July 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Default

Thanks for the reply dk_netsvil.

There is nothing relevant in /var/log/messages; No mail for root.

Thanks for the link, it is well explained and very helpful. However, there is no solution to my problem. crond is running but not executing any tasks!? I rewrote the crontab file to make sure it is not a syntax error of any kind. It looks like this now:
Code:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

25 * * * * root /bin/ls / > /tmp/ls.txt
crond saw the change and reloaded the crontab:
Code:
Jul 16 13:20:01 webcam01 crond[23242]: (*system*) RELOAD (/etc/crontab)
and
Code:
# ls -lut /etc/crontab 
-rw-r--r-- 1 root root 352 Jul 16 13:21 /etc/crontab
and my file didn't get created...
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote