From owner-freebsd-config@FreeBSD.ORG Sat Mar 13 13:08:09 2004 Return-Path: Delivered-To: freebsd-config@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1803016A4CE for ; Sat, 13 Mar 2004 13:08:09 -0800 (PST) Received: from vsmtp14.tin.it (vsmtp14.tin.it [212.216.176.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D77943D1D for ; Sat, 13 Mar 2004 13:08:08 -0800 (PST) (envelope-from gianfranco.mior@tin.it) Received: from server (80.180.188.47) by vsmtp14.tin.it (7.0.019) id 4045A19F001D05AB; Sat, 13 Mar 2004 22:08:06 +0100 Content-Type: text/plain; charset="us-ascii" From: Gianfranco Mior To: FreeBSD-config ML Date: Sat, 13 Mar 2004 22:08:05 +0100 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200403132208.05302.gianfranco.mior@tin.it> Subject: ISDN Router and Crontab X-BeenThere: freebsd-config@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Installation and Configuration List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2004 21:08:09 -0000 Hello list! 1st -Sorry for my english :-) 2nd - I've a FreeBSD 4.9 connetcted to internet with an ISDN router.=20 If I type as root the following commad: #getmail --getmaildir /home/maildir/.getmail I get what I want; the ISDN router start the=20 dial procedure to the ISP and I get my email from the remoter pop3 server. But if I place the same command line in a cronjob, the router remain in a "sleep" state.=20 So, just to check I've make a script "tst.sh" containing the following li= nes: #!/bin/sh echo "Start for mail chk..." >/dev/console /usr/local/bin/getmail --getmaildir /home/mailer/.getmail echo "Mail chk done!" >/dev/console As well as mentioned before, if I manually run the "tst.sh" I guess the=20 target, but if the same scrip is executed fron crontab, I get only the tw= o echo messages; the getmail process does not appear as executed and the IS= DN=20 router remain in a "staedy" state. What I can do? May someone suggest to me some helpful info? Thank you in advance! Gianfranco