PDA

View Full Version : Cron jobs arent working



pilpelet
03-06-2004, 09:45 AM
Hello to all ,

What could be the resone/s for all the cron jobs that configured in the crontab file stoped work for a few weeks now .

I must add that its aboat the time i installed mail scanner also
mails to root arent getting thru .

If how can i unisntall mail scanner . and what files do i have to
reverse config to the basic no scan config .

Thanks for any idea .

DirectAdmin Support
03-06-2004, 09:56 AM
Hello,

Make sure that your cron deamon is running.. and check the /var/log/messages and /var/log/cron file for clues.

To revert exim, you can install the latest exim.conf:

wget -O /etc/exim.conf http://files.directadmin.com/services/exim4.conf
service exim restart
John

pilpelet
03-06-2004, 10:16 AM
Jhon thanks ,

I checked the logs but couldnt figure it out , in the cron log i see nothing but direct admin crons . In messages i all i see is FTP logings , daemons restarts etc...

How do i check if the cron daemom itself is running ?

Regards ,

:D

DirectAdmin Support
03-07-2004, 08:28 PM
[root@system root]# ps -ax |grep cron
1951 ? S 0:00 crond
3294 pts/0 S 0:00 grep cron
the "grep cron" is just the program you're running, but the crond is the actual crond program you're looking for. If you see a lot of entries in the cron log (dataskq) then it's probably working.

John