Chris said: > On Sunday 21 August 2005 08:35 pm, Dennis Peterson wrote: >> >> > Gave up on the cronjob, I'll let freshclam start as per the init >> script. >> > I did >> > try adding the sleep to the init script, but, when placing it after >> > ${LOGFILE}, and running "service freshclam start" from the cli >> resulted >> > in the process starting "Starting Clam AntiVirus Update Daemon:" but >> the >> > 'ok' was not given. My guess is because of the "sleep" variable. >> >> Ok - time to back up the bus and take another whack at this, and maybe >> there's an opportunity to learn something, too. >> > >> >> * If you run from cron you can be a good network neighbor by randomizing >> the query time and period. And I will buy you a beer for being so >> intelligent, assuming you are of age. > > 1 * * * * root nice -n 19 run-parts /etc/cron.hourly > 2 * * * * clamav /usr/local/bin/freshclamcron > > Using your script, is 56 old enough :)
Well done, Chris - a quick visit to TheVirtualBarAndGrill.com is in order, tho at 56 yer still just a kid :) dp _______________________________________________ http://lurker.clamav.net/list/clamav-users.html