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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.