ISDN Router and Crontab
Gianfranco Mior <[email protected]> Sat, 13 Mar 2004 22:08:05 +0100
| Newsgroups | gmane.os.freebsd.configuration |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-config To unsubscribe, send any mail to "[email protected]"