Hi there 

I've got a working script,  However there are a LOT of files to
process, & each time my cron-job runs, it processes 100 files...

the total time to process all the files is 90-120 minutes...

(Ive currently got the cron-job every 2 minutes..)

My Query: 

Is there a way, in which I can re-run the same script as a "new"
process - so the script doesnt time-out during the "batch"...

Im thinking - of re-saving the script as script2.php & then running
the script again - Therefore, halving the time it takes to process the
entire list of files - Without the need to double the frequency of the
cron-jobs.

(IE... between the hours that nothing requires processing, my cron-job
doesnt check for jobs to do - un-necessarily..)
- Although the checking phase may only take 0.0001 second, to see if
the rest of the script needs checking - im just trying to speed things
up.. - without un-neccessary crons...

- hope that makes sense....

basically, Ive got it figured out - Except how to make the 2nd script
run as a "new" process....







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/
 


Reply via email to