Re: Executing a Script every hour
Tha sounds like a very logical thing to do, as you can tell I'm a newbie.
Do you mean running the script from ip-up??
Maybe somone can tell me how to tell pppd to connect, i.e. without for
instance running ping?
> * Christof Hurschler <firstname.lastname@example.org> [2003-09-30 15:04]:
> > $pop = Net::POP3->new('pop3host', Timeout => 60);
> Perl, eh? Never played around with that language, sorry.
> > but I haven't been able to get it to work in swendelete, I always get
> > a "can't connect to mail server" error when I run swendelete.pl and
> > don't have an active connection (I'm usind demand in ppp).
> > Any suggestions?
> Although I have no experience with the language, you may want to try
> approaching the problem from the other end. If you can't get the
> 'Net::POP3' module to wait until the ppp daemon finishes connecting,
> have the ppp daemon run your script as soon as it finishes connecting.
> Then, instead of running your script every hour, have the daemon connect
> every hour, then disconnect after a suitable period.
> Just a thought...
> dave [ please don't CC me ]
> To UNSUBSCRIBE, email to email@example.com
> with a subject of "unsubscribe". Trouble? Contact
Dr.-Ing. C. Hurschler
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService
Jetzt kostenlos anmelden unter http://www.gmx.net
+++ GMX - die erste Adresse für Mail, Message, More! +++