Hi
I installed the updated Clamav 0.6 antivirus and amavis engine on SME 5.5. Now my problem is the cronjob that is supposed to run on an hourly basis to update the program is not working.
I first had the cronjoblike this
#!/bin/sh
# Clam Antivirus virus definitions updater example crond entry
#
#+-----------------------Minute (0-59)
#| +-------------------Hour of Day (0-23)
#| | +---------------Day of Month (1-31)
#| | | +-----------Month of Year (1-12)
#| | | | +-------Day of Week (0=Sun,6=Sat)
# v v v v v
0 * * * * root /usr/bin/freshclam --quiet -l /var/log/clamav/freshclam.log
but every time the job runs I get a
/bin/sh: root: command not found
error in the admin email.
I changed it to
0 * * * * root /usr/bin/freshclam --quiet -l /var/log/clamav/freshclam.log
with the same results. Can anyone tell me what I need to do to get the job running.
TIA