go ahead... be a heretic | |
PerlMonks |
Re: Triggering Perl Scriptsby arhuman (Vicar) |
on Apr 23, 2001 at 20:45 UTC ( [id://74766]=note: print w/replies, xml ) | Need Help?? |
To my mind, the CRON solution is the better one, But If you can't (or dont want to) use it (only root's allowed cron, Windoze boxes without cron, not used to CRON syntax...) You can simply write a perl script that'll check for the existence of a file, process it (and move/delete it) if it's present, and then sleep 5 mins (in an infinite loop). Quick and dirty but simple...<br "Only Bad Coders Badly Code In Perl" (OBC2IP)
In Section
Seekers of Perl Wisdom
|
|