Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Mar 2004 18:01:25 +0000
From:      Peter Risdon <peter@circlesquared.com>
To:        Robert Golovniov <g-r-v@ukr.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Handling mail on a dialup connection
Message-ID:  <404CB4F5.1030009@circlesquared.com>
In-Reply-To: <200403081801.i28I1pbS070211@gw.core>
References:  <200403081801.i28I1pbS070211@gw.core>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Golovniov wrote:

>Hello,
>
>  I  would  like to create an hourly cron to have the machine bring up
>  the dialup connection, check for the new mail (with fetchmail), send
>  any  outgoing  messages (with postfix) and then bring the connection
>  down.
>
>  To  make  things  more  complicated, I would like to use this dialup
>  session  to  automatically  update  my  virus  databases for clamav,
>  f-prot, and Panda AV.
>
>  I  think  I  could  figure out how to set each of these processes in
>  cron,  but  I am not sure how to tell the script that it should wait
>  for  one  process  to  finish before it starts performing the second
>  task. What is the best place to look for more information on that?
>
>  
>
I'd write a shell script that did everything, then invoke that script 
with cron.

PWR.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?404CB4F5.1030009>