On Tue, Jan 01, 2002 at 08:27:58AM -0000, umesh shah wrote:
>
> Dear Linux Users,
>
> Can someone guide, how can I make my linux box dial-out and
> exchange e-mails say at every 20 minutes.
>
> Umesh
>
---end quoted text---
You need to run a short script under cron at frequency you
want. The algorithm of the script should be something like:
IF ppp is not running
then dial server with either chat script or
wvdial in the background
fi
Purge pending messages (with sendmail -q &)
Fetch mails from pop3 server in the background
Wait till lock/ pid files of above are removed
and then disconnect from ISP
Take output to a log file or mail root for record purposes
Exit
Read the man for crontab and crond about cron details ...
HTH
Bish
--
:
####[ Linux One Stanza Tip (LOST) ]###########################
Sub : Listing and Removing Aliases LOST #178
To List all aliases, you can usually type just 'alias' ...
To Remove an alias, you can use 'unalias aliasname'.
####<From : freebsd fortune>#################################
:
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help