Jump to content

Cron Script Trouble


bluejay002

Recommended Posts

Hi!

 

i had cron jobs, that is running PHP scripts. But i had, recently, this very long-running script (around 40mins) that would slowdown the server. so what i did is that i divided it into two scripts and used JavaScript to recursively call the one script from the other so that the web server (and the database) too busy.

 

it runs smoothly except that when cron job is applied, javascript is not supported, and so, not running. I am running this cron job in Linux. Does anyone know any alternative for creating cron jobs for a php script with javascript?

 

thanks a lot and God bless!

Link to comment
https://forums.phpfreaks.com/topic/109512-cron-script-trouble/
Share on other sites

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.