The News‎ > ‎

Crontab and ClamAV

posted Sep 9, 2016, 10:44 AM by Leigh Williams
This post is mostly because I use crontab like once every 3 years and can never remember the where and what.

1.) On Ubuntu, type in "crontab -l". This will list the cron jobs in the cron table (crontab)
2.) For example, the clamav cron runs as your user, and you will find it in your crontab
3.) crontab looks in /var/spool/cron/crontabs for jobs to execute. In this folder, you will find a folder for every user that has jobs to run
4.) crontab's format is a little different from cron.daily, cron.hourly, etc, in that it doesnt need the username in the job line. crontab is therefore easier is it belongs to a user, and you can grant or revoke access to user's crontabs.

Clamav conf and logs are in:
  • /etc/clamav/freshclam.conf
  • /var/log/clamav/
  • /var/log/clamav/freshclam.log
  • Daily scan results will be in /home/YOURUSER/.clamtk/history/
Comments