Web Hosting Talk







View Full Version : Shared Hosting and Cron


allan
07-07-2002, 09:36 PM
Just curious, how many shared hosts will allow their clients to schedule cron jobs?

ScottD
07-07-2002, 09:39 PM
Aye, we do allow it.

allan
07-07-2002, 09:43 PM
Scott -- do you put any limit on how often cron jobs can be run? If someone wanted to run a script every 1 minute would that be a problem?

ScottD
07-07-2002, 09:47 PM
I would have no objection whatsoever as long as the script wasn't bringing the server to its knees and was well enough behaved; for example it must be intelligent enough to know whether or not a previous instance has ended before executing.

Deb
07-07-2002, 10:49 PM
I can ditto Scott on this one. We have no problem with cronjobs, even frequent ones, as long as they are well behaved.

This is one of those "many hosts do and many hosts don't" areas so it's a good question to ask prior to signing up just to be sure.

isildur
07-07-2002, 11:04 PM
Definitely do offer this at our company, both on linux and win2k....

The process will be screened by one of the administrators on call when the cron addition request is made, though I honestly can't remember when something of this nature has been refused. Our control panel on linux (CPanel) lets end-users control their particular user cron- though that can only provide so much functionality. Anything that is scheduled as an admin account and/or root will definitely be screened before being implemented.

I would imagine this is how it works most anywhere, if the service is actually supported at a particular webhost.

TopDog07
07-08-2002, 12:58 AM
We also allow cronjobs, with no limit, provided it was not hindering the server’s performance. :)

phpjames
07-08-2002, 01:33 AM
I think people put too much emphasis on server performance and load. Unless there is a script running wildly out of control hogging CPU power cron jobs should be something that should be something all hosts should allow.

Studio64
07-08-2002, 01:39 AM
phpJames.... Hogging CPU power is what they are trying to prevent...

Out of all the hosts out there what % of users (shared/virtual accnts) actually use crons?
2-10% I'd bet.

Most don't need them, don't know what they are, how they work, or what the heck to use them for.

Yeah most crons are simply scripts that usually are not resource intensive.

But, there will always be that one guy who wants to grep the entire file structure every 5 seconds for something stupid or whatever....

And I'll leave your

I think people put too much emphasis on server performance and load

comment with simply an :eek: and I completely disagree w/ you :D... I want my site on a box w/out resource hogging scripts and a low server load.

seg fault
07-08-2002, 01:42 AM
If boxes were properly setup to limit users process threads and memory usage (eg login.conf/freebsd) then you wouldn't have to worry about a single person bringing your server down to its knees :D

phpjames
07-08-2002, 01:42 AM
Studio64,
:D True on the cron thing. Not many use them but I would hope that any good host at least has this option.

If a box with 300-500 users has an issue with load then yes that would be a concern. Good points to all this chatty chat. :)

phpjames
07-08-2002, 01:43 AM
Studio64,
Nice sig by the way... whered you get that one. :)

dynamicnet
07-08-2002, 09:42 AM
Greetings:

Our parent company allows it. There used to be a limit of once an hour execution, but now there are no limits other than the acceptable use policy.

Thank you.

nousername
07-08-2002, 09:58 AM
*sigh*.. yep.. we allow it.. oh and 8 mins to my bday! weee!

464181
07-08-2002, 10:49 AM
What is cronjob anyway?

mlovick
07-08-2002, 10:52 AM
Originally posted by 464181
What is cronjob anyway?

Crond is service which runs on UNIX which allows you to run programs or scripts at regular intervals without the need to be present.

A task scheduler in other words.