[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re[2]: [Repost] F-prot update cron script fails



Oops...I was wrong....


# cat /etc/cron.d/f-prot-installer
# Regular cron jobs for the f-prot-installer package
#
# automatically update the f-prot(tm) virus signature definitions
# (.DEF files) with the 'check-updates' bash script.

# NOTE: Don't use this script in combination with mailscanner. Use the
# autoupdate script in /etc/mailscanner instead.

# run check-updates twice a day: 04:27 and 16:27. # With this
# configuration, you will get e-mails whenever signature files are
# updated or when an error occours.

# If you only want to receive e-mail only when an error occours, then
# you want to include the -quiet parameter

27 4,16 * * * root test -x /usr/lib/f-prot/tools/check-updates &&
/usr/lib/f-prot/tools/check-updates -cron
#
# Check for new version  of program once a week
#
00 12 * * 1 root test -x /usr/sbin/update-f-prot &&
/usr/sbin/update-f-prot -i


--Note:  the two crontab entries should both be on one line each.




Reply to: