Jump to content

[SOLVED] Time limit in main file, or required files?


opalelement

Recommended Posts

Lets say I have about 10 scripts, s1.php, s2.php, etc.

 

I want to run all these scripts from scripts.php by using require(), so I only have to run one script in a cron job.

 

Each script takes about a minute to execute.

 

Would I set_time_limit of about 600 at the top of scripts.php, or would I need to set this limit at the top of each s*.php individually for about 60?

 

Thanks,

.:Opalelement:.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.