PDA

View Full Version : Cron Error


dannygoh
07-15-2004, 07:06 PM
i'm getting this 2 email regarding cron error

1. First email
Subject: Cron <diradmin@server_name> echo -e "action=backup&id=1&owner=owner_name" >>
Body: /bin/chmod: failed to get attributes of `/usr/local/directadmin/data/task.queue.da': No such file or directory

2.Second email
Subject: Cron <root@gserver_name> run-parts /etc/cron.daily
Body: /etc/cron.daily/00webalizer:

Webalizer V2.01-10 (Linux 2.4.26-1um) English Using logfile STDIN (clf) Creating output in current directory Hostname for reports is 'mydomain.com'
History file not found...
No valid records found!

DirectAdmin Support
07-19-2004, 02:32 PM
Hello,

1) Check the contents of /var/spool/cron/diradmin. It's possible that the cron to add the task to the queue and the dataskq were run at the exact same time, so the chmod wasn't quick enough and the file was already processed before it to run it's commands. Not a serious issue.

2) Delete /etc/cron.daily/00webalizer
It's not used or needed.

John

albatroz
10-17-2004, 06:03 AM
If webalizer is not executed from cron
when is it executed?