Re: [Clamav-users] freshclam in deamon mode

2004-02-17 Thread Odhiambo Washington
* Fajar A. Nugraha <[EMAIL PROTECTED]> [20040217 15:31]: wrote: > Odhiambo Washington wrote: > > >So what do you recommend for crontab? > > > > > Earlier post from Luke Scharf suggests you put in crontab > >SHELL=/bin/bash >0 * * * * sleep $[ $RANDOM % 3600 ] ; /usr/bin/freshclam

Re: [Clamav-users] freshclam in deamon mode

2004-02-17 Thread Syahrul Sazli Shaharir
On Tue, 17 Feb 2004, Erik Corry wrote: > Here's a feature idea: An option to freshclam in daemon mode that gives > it a file to watch. When the file changes, we download updates (perhaps > after a random delay). That way I can subscribe to the database mailing > list, set up procmail to put mai

Re: [Clamav-users] freshclam in deamon mode

2004-02-17 Thread Fajar A. Nugraha
Odhiambo Washington wrote: So what do you recommend for crontab? Earlier post from Luke Scharf suggests you put in crontab SHELL=/bin/bash 0 * * * * sleep $[ $RANDOM % 3600 ] ; /usr/bin/freshclam --quiet I would prefer daemon mode, but a simple 19 * * * * /usr/bin/freshclam --qu

Re: [Clamav-users] freshclam in deamon mode

2004-02-17 Thread Thomas Lamy
Erik Corry wrote: Here's a feature idea: An option to freshclam in daemon mode that gives it a file to watch. When the file changes, we download updates (perhaps after a random delay). That way I can subscribe to the database mailing list, set up procmail to put mails from the list in a special

Re: [Clamav-users] freshclam in deamon mode

2004-02-17 Thread Odhiambo Washington
* Fajar A. Nugraha <[EMAIL PROTECTED]> [20040217 13:49]: wrote: > Odhiambo Washington wrote: > > >>>How do people run freshclam in daemon mode, > >>> > >>> > >>Tried freshclam -d yet? > >> > >> > > > >From cron??? > > > > > > > No, from command line. Just execute `/usr/local/bin/freshcla

Re: [Clamav-users] freshclam in deamon mode

2004-02-17 Thread Erik Corry
Here's a feature idea: An option to freshclam in daemon mode that gives it a file to watch. When the file changes, we download updates (perhaps after a random delay). That way I can subscribe to the database mailing list, set up procmail to put mails from the list in a special folder, then use t

Re: [Clamav-users] freshclam in deamon mode

2004-02-17 Thread Fajar A. Nugraha
Odhiambo Washington wrote: How do people run freshclam in daemon mode, Tried freshclam -d yet? From cron??? No, from command line. Just execute `/usr/local/bin/freshclam -d` as root or as clamav user. You can monitor its activities from freshclam.log (look for UpdateLogFile on /

Re: [Clamav-users] freshclam in deamon mode

2004-02-17 Thread Odhiambo Washington
* Fajar A. Nugraha <[EMAIL PROTECTED]> [20040217 12:52]: wrote: > Odhiambo Washington wrote: > > >How do people run freshclam in daemon mode, > > > I'm not sure what you mean here. > Tried freshclam -d yet? From cron??? > > >as opposed to via crontab? > > > > > Well, when people put entry in

Re: [Clamav-users] freshclam in deamon mode

2004-02-17 Thread Fajar A. Nugraha
Odhiambo Washington wrote: How do people run freshclam in daemon mode, I'm not sure what you mean here. Tried freshclam -d yet? as opposed to via crontab? Well, when people put entry in crontab 0 * * * * /usr/local/bin/freshclam all updates will happen at hour-change (bad for database mirrors

[Clamav-users] freshclam in deamon mode

2004-02-17 Thread Odhiambo Washington
Ok, after a couple days off, my brain is kinda eroded. How do people run freshclam in daemon mode, as opposed to via crontab? I hope I am not dreaming ;) cheers - wash +--+-+ Odhiambo Washington