On 3/6/06, Bob <[EMAIL PROTECTED]> wrote: > Thanks Mike, > I just experimented with sleep(); for the first time, locally on my computer, > (usleep(); doesn't work on Windows according to the manual) so by using it, > it still counts towards the 30 secs max of php. > > When php is in sleep, I'm assuming that very little resources are used, just > the timer. > > If I used usleep, what would be a reasonable time to set it, in microseconds? > > p.s. Time taken to read and scan 800 files locally without any delay: 1.1487 > secs. > Bob.
If you want, Ive already got a script to do this.... You just set a base directory, & a cron-job.... I''ve got it set to scan a directory & subsequent subdirectories - every 5 minutes.. (one directory every 5 minutes...) -- G Yahoo Archives by email = Yes http://groups.kwister.com/owners.php#add NZ community groups - [EMAIL PROTECTED] Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
