Originally Posted by KuKuKaChu
yes, i've already come across the problem of timeout. most systems are set to 30 seconds. i used ini_set("max_execution_time", "60") to fix it.
Still not really a good answer, perhaps splitting it up into several seperate scripts would be better; if it's taking that long to run, that's way too long imo...

Originally Posted by KuKuKaChu
you mean, call php from the command line, called from cronjob?

php < code.php

i can't seem to bring php up like this ... (unix is not really my forte).
No, more setting a cron task to execute: php /path/to/code.php

Originally Posted by KuKuKaChu
well, if you show me yours, i'll show you mine wink

actually, it's nothing too special. just a lot of data munging to extract data from particular locations within tables.

and a few data cleanup routines to put the information in a useable format.

i'm not sure it would be of generic interest.


Which one did you want to see? lol...

As for using exec or system, some isp's block them out, if you where to execute them from command line you could have them run fine in the back end of things, cron would execute them on a set schedual and you wouldn't have to worry about any potention forum lag.

BTW, you may not notice any lag now, but trust me, you will lol...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!