Try replacing it with the full path to the binary (if unsure what that is do a 'which freshclam' and use the resulting path) something like /usr/local/bin/freshclam instead.
HTH Michael Weiner -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Margo Sent: Saturday, October 16, 2004 1:56 AM To: [EMAIL PROTECTED] Subject: [Clamav-users] Crontab & Freshclam Hi I am not sure if my crontab is working. My crontab for freshclam: 56 * * * * freshclam --quiet However if I run it manually as me, I get these errors: ClamAV update process started at Sat Oct 16 13:37:50 2004 Reading CVD header (main.cvd): OK main.cvd is up to date (version: 27, sigs: 23982, f-level: 2, builder: tomek) Reading CVD header (daily.cvd): OK ERROR: Can't open new file ./clamav-836a597f35e96568 to write open: Permission denied ERROR: Can't download daily.cvd from 218.44.253.75 What have I done wrong? I can run freshclam as root and it works fine. -- Margo Suse Linux Pro 9.1 _______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users _______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
