Thanks Wash,

I made the changes you suggested in crontab, but it did not like "root" in the command so I tried it without root but with everything else and got the same error. I have created a work-around using "freshclam --stdout | logger -p local6.info" in my crontab and "local6.* /var/log/clam-update.log" in /etc/syslog.conf. It works well enough, but I would like to know why I can't get freshclam to work with the -l param.

Sorry about sending the last message twice. I've been cc'ing clam-users and the message didn't show up there so I thought I messed up and the message just didn't go out.

Odhiambo Washington wrote:

I know I could be anal but could you please have your crontab entry like this:
0 6,8  *  *  *  root  /usr/local/bin/freshclam --quiet -c 4 -l /var/log/clam-update.log


I have merged it into one. I don't know why you wanna run it at 6 and at 8, but in cron
you can specify multiple hours like 6,8,10...n. My practice is also that I always specify the user I want the cron ran as.





(Hope I didn't send this to you twice)



You did. Why did you? :)


x

-Wash

S y s t e m s A d m i n i s t r a t o r

--


___W_A_N_A_N_C_H_I__O_N_L_I_N_E__L_T_D___The People's Choice______ Wananchi Head Office |*| Tel: +254 2 313 985-9 1st Flr Loita, Loita St.|*| Fax: +254 2 313 922 10286-GPO, NAIROBI, KE |*| e-mail: <wash at wananchi dot com> ------------------------------------------------------------------ ++

No harm befalls the righteous,
but the wicked have their fill of trouble.
       Proverbs 12:21







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to