PDA

View Full Version : cron daemon



fedorafan2
29th March 2006, 02:32 AM
I was making a mail server that will have virus protection in the directions it says:
You need to have a cron daemon running in order for ClamAV to fetch the virus definitions.

What is this and how do I creat it?

daverj
29th March 2006, 03:21 AM
cron is a way of automatically running programs and scripts at set times. It runs as a daemon. Apparently ClamAV creates a crontab entry to automate virus definition updates.

vixie-cron seems to be the standard cron implementation in FC5. Check out the following link for more information. It should be enough to get you started:

http://www.unixgeeks.org/security/newbie/unix/cron-1.html

daihard
29th March 2006, 03:38 AM
cron is a way of automatically running programs and scripts at set times. It runs as a daemon. Apparently ClamAV creates a crontab entry to automate virus definition updates.

vixie-cron seems to be the standard cron implementation in FC5. Check out the following link for more information. It should be enough to get you started:

http://www.unixgeeks.org/security/newbie/unix/cron-1.html
You can check to see if a cron daemon (crond) is running on your system this way (as root):

# /etc/init.d/crond status
If it comes back saying "crond (pid xxxx) is running..." then your cron deamon is running. If not, try typing the following (again as root) to see if crond is there as least:

# /sbin/chkconfig --list | grep crond
If you get a line back with on's and off's, then yes, crond is there. You just have to start the deamon as follows (as root):

# /etc/init.d/crond start