From owner-freebsd-questions@FreeBSD.ORG Mon Mar 8 09:55:37 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A712416A4CF for ; Mon, 8 Mar 2004 09:55:37 -0800 (PST) Received: from ns.core (wt.lviv.farlep.net [213.130.16.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC63443D1F for ; Mon, 8 Mar 2004 09:55:35 -0800 (PST) (envelope-from g-r-v@ukr.net) Received: from gw.core (gw.core [10.0.0.5]) by ns.core (8.12.9p1/8.12.6/ WTBTS UA) with ESMTP id i28HtM62039626 for ; Mon, 8 Mar 2004 19:55:22 +0200 (EET) (envelope-from g-r-v@ukr.net) Received: (Private information has been deleted) for ; Mon, 8 Mar 2004 20:01:52 +0200 (EET) Message-Id: <200403081801.i28I1pbS070211@gw.core> Date: Mon, 8 Mar 2004 19:54:23 +0200 From: Robert Golovniov X-Priority: 3 (Normal) To: freebsd-questions@freebsd.org Comments: CAcert Assurer (www.cacert.org) & Thawte WOT Notary (www.thawte.org) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: ArcMail 2.93 X-Request-PGP: mailto:golovniov@interia.pl?subject=GPG%20Key&Body=Attached%20key X-PGP-KeyID: 0x633F6D07 / 1A1C 29F1 2A0C 4C4E 0BDA C8EE 5A1D 9F03 633F 6D07 Subject: Handling mail on a dialup connection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 17:55:37 -0000 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? -- -=Robert & Beata Golovniov | Lviv, Ukraine=- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailto:golovniov@interia.pl?subject=PGP%20Key&Body=Embedded%20key ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~