On Wed, May 30, 2007 7:14 am, Bosky, Dave wrote:
> 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?
Linux: man 5 cr
> 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?
On linux there is cron (you should find many example by googling)
On a *nix-box it's fairly simple when using cronjobs... maybe try that?
- Original Message -
From: "Bosky, Dave" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, May 30, 2007 2:14 PM
Subject: [PHP] scheduling a script to check a directory for files
Greetings!
I need to write a script to i
3 matches
Mail list logo