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 :) > > Get rid of webadmin as soon as possible. It is keeping you from using your > brain and I assure you it hasn't one of its own. Done - Just have to migrate my other cronjobs over to the crontab. -- Chris Registered Linux User 283774 http://counter.li.org 18:51:07 up 1 day, 6:34, 1 user, load average: 1.02, 0.67, 0.37 Mandriva Linux 10.1 Official, kernel 2.6.8.1-12mdk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Time is an illusion perpetrated by the manufacturers of space. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ http://lurker.clamav.net/list/clamav-users.html