automatic search in a folder

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
Jimmyh
Forum Newbie
Posts: 7
Joined: Mon Mar 24, 2008 12:52 pm

automatic search in a folder

Post 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.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Re: automatic search in a folder

Post by RobertGonzalez »

Cron.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: automatic search in a folder

Post by John Cartwright »

+ glob() + count()
Jimmyh
Forum Newbie
Posts: 7
Joined: Mon Mar 24, 2008 12:52 pm

Re: automatic search in a folder

Post by Jimmyh »

thx Jcart i will look and i will see the outcome.

thank you
Jimmyh
Forum Newbie
Posts: 7
Joined: Mon Mar 24, 2008 12:52 pm

Re: automatic search in a folder

Post 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
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Re: automatic search in a folder

Post 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.
Jimmyh
Forum Newbie
Posts: 7
Joined: Mon Mar 24, 2008 12:52 pm

Re: automatic search in a folder

Post 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
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: automatic search in a folder

Post by John Cartwright »

yup, Task Scheduler is the equivalent to Cron in Windows.
Post Reply