Automatic Internet connection.

Jeff Kinz jkinz at kinz.org
Sat Jul 3 12:49:18 UTC 2004


On Sat, Jul 03, 2004 at 10:02:52AM +0530, sg at pobox.com wrote:
> Sir,
> 
> I am using Redhat Linux 9 and qmail and i am having dial-up internet 
> connection and download mail with fetchmail and i want to create a script 
> which will excute with a gap of 30 minutes and it will up ppp connection and 
> download mail and send all queue messages and then automatically discount 
> internet connection.
> 
> Now a days i am doing this process manually. but i want to make it automatic.
> 
     fetchmail -d 1800

puts fetchmail in deamon mode, w/30 min interval

Place it in your .bash_profile, or better, put a fetchmail comman in
cron for each user who needs to poll mail.

-- 
Jeff Kinz,  Emergent Research,  Hudson, MA.  





More information about the Redhat-install-list mailing list