good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Cron Job??by diskcrash (Hermit) |
on Apr 04, 2001 at 00:48 UTC ( [id://69471]=note: print w/replies, xml ) | Need Help?? |
I had the same identical problem and solved it with a very low tech / low rent approach. My "ftp listener" script does a sleep for a minute and checks the directory for new files. It is installed using instsrv and srvany. It has the KISS mentality and works very reliably with very low overhead. Avoid chdir and use full path (dev and dir) references to all directories. Its running on NT 4.0 SP6a. -Diskcrash (prince of crummy, low style code..)
In Section
Seekers of Perl Wisdom
|
|