Re: scheduling a script to check a directory for files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On a *nix-box it's fairly simple when using cronjobs... maybe try that?

----- Original Message ----- From: "Bosky, Dave" <Dave.Bosky@xxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Wednesday, May 30, 2007 2:14 PM
Subject:  scheduling a script to check a directory for files


Greetings!



I need to write a script to import '.csv' data files into MySQL.

My question is how can I have a script execute and check a directory
every 4 hours for any '.csv' files and if it finds any calls a function
to import them?



Thanks,

Dave


**********************************************************************
HTC Disclaimer:  The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of this
message is not the intended recipient, or an employee or agent responsible
for delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited.  If you have received this
communication in error, please notify us immediately by replying to the
message and deleting it from your computer.  Thank you.
**********************************************************************

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux