On Sun, Sep 12, 1999 at 06:35:11PM -0400, Phil Sexton wrote:

> I have fetchmail setup and operating to my satisfaction now. 
> Currently, I use usernet to toggle my ppp0 dialup connection, then run
> fetchmail to download the messages.
 
> I would like to have the computer to do this overnight so that I won't
> lose any e-mail when I take a trip.

I put a file in /var/spool/cron/root
that does the job

# run five minutes after 10, every evening
5 22 * * * /etc/ppp/mail-out
# run 22 minutes after 10, every evening
22 22 * * * /etc/ppp/ppp-off

the script "mail-out" is doing the job.
just like your present script to get mail
ppp-off makes sure the line is only on for 16 minutes per day.

see man crontab for more detail

Jacob 

Reply via email to