Jump to content

Cron Question


Recommended Posts

Hi everyone,

 

I've got an idea for a site that would run Cron jobs fairly frequently. However, I don't want to try my idea if it would cause problems (overloading?) on the server, since I'm on a shared server. So my question is, how often is "safe" to run a Cron job? I see I can run as often as one minute (which I've done for short stretches while testing), but I don't know if it's a good idea to run that often 24/7. Any thoughts on that?

 

Dave

davidabarak [at] gmail.com

Link to comment
Share on other sites

Depends on the job you intend to run. If it is very CPU intensive it's going to get you in trouble running it very frequently. Without knowledge of what you intend to do all we can do is guess. If you would like to know more you can open a ticket with the help desk and tell them what you are intending to do and they would be able to give you an idea of how often you would be able to run the job without getting yourself into trouble.

Link to comment
Share on other sites

Depends on the job you intend to run. If it is very CPU intensive it's going to get you in trouble running it very frequently. Without knowledge of what you intend to do all we can do is guess. If you would like to know more you can open a ticket with the help desk and tell them what you are intending to do and they would be able to give you an idea of how often you would be able to run the job without getting yourself into trouble.

 

Sounds good -- thanks Bruce! FYI, I'm not actually planning to run once a minute of course, and I have a feeling what I plan to do is quick and easy, but I'll submit a ticket once I'm closer to trying out what I'm thinking of.

 

Dave

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

 Share

×
×
  • Create New...