niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » FreeBSD » mail-lists » Configuration
ISDN Router and Crontab
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
Gianfranco Mior
*nix forums beginner


Joined: 13 Mar 2004
Posts: 1

PostPosted: Sat Mar 13, 2004 8:08 pm    Post subject: ISDN Router and Crontab Reply with quote

Hello list!

1st -Sorry for my english :-)

2nd - I've a FreeBSD 4.9 connetcted to internet with an ISDN router.
If I type as root the following commad:

#getmail --getmaildir /home/maildir/.getmail

I get what I want; the ISDN router start the
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.
So, just to check I've make a script "tst.sh" containing the following lines:

#!/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
target, but if the same scrip is executed fron crontab, I get only the two
echo messages; the getmail process does not appear as executed and the ISDN
router remain in a "staedy" state.

What I can do? May someone suggest to me some helpful info?
Thank you in advance!
Gianfranco

_______________________________________________
freebsd-config@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-config
To unsubscribe, send any mail to "freebsd-config-unsubscribe@freebsd.org"
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 9:38 am | All times are GMT
navigation Forum index » *nix » BSD » FreeBSD » mail-lists » Configuration
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Socket connection between multiple interfaces, through a ... seets375@yahoo.com C 4 Sun Jul 16, 2006 11:18 pm
No new posts run web server behine router quickcur@yahoo.com networking 20 Sun Jul 16, 2006 3:39 pm
No new posts adsl router/modem samboychip FreeBSD 5 Thu Jul 13, 2006 11:08 pm
No new posts limit errors_to= router specific Rainer Sigl Exim 0 Fri Jul 07, 2006 11:09 am
No new posts How to make solaris as a router..? ganeshj304@gmail.com Solaris 2 Thu Jul 06, 2006 9:26 am

Myspace Proxy | Flights | Credit Cards | Xecuter 3 Mod Chip | Internet Advertising
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1514s ][ Queries: 16 (0.0873s) ][ GZIP on - Debug on ]