Page 1 of 1

automatic search in a folder

Posted: Mon Mar 24, 2008 12:57 pm
by Jimmyh
I need some help in php upon how to make an automatic search in a folder every 10 minutes to look if there are files.

Re: automatic search in a folder

Posted: Mon Mar 24, 2008 1:07 pm
by RobertGonzalez
Cron.

Re: automatic search in a folder

Posted: Mon Mar 24, 2008 1:08 pm
by John Cartwright
+ glob() + count()

Re: automatic search in a folder

Posted: Mon Mar 24, 2008 1:25 pm
by Jimmyh
thx Jcart i will look and i will see the outcome.

thank you

Re: automatic search in a folder

Posted: Mon Mar 24, 2008 1:30 pm
by Jimmyh
To be more specific i need how each 10 minutes to verified the presence of files in the specified directory.
any help out will be appreciated

Re: automatic search in a folder

Posted: Mon Mar 24, 2008 1:32 pm
by RobertGonzalez
Jimmyh wrote:To be more specific i need how each 10 minutes to verified the presence of files in the specified directory.
any help out will be appreciated
Cron.

Re: automatic search in a folder

Posted: Mon Mar 24, 2008 1:41 pm
by Jimmyh
Everah,
thanks i think I have found what will solve my problems, CRON i will try to use it under Windows,i think scheduled tasks can help me too.

thanks a lot

Re: automatic search in a folder

Posted: Mon Mar 24, 2008 1:42 pm
by John Cartwright
yup, Task Scheduler is the equivalent to Cron in Windows.