Cron.php [message #164162] |
Fri, 07 January 2011 05:33 |
|
Kiwi
Messages: 20 Registered: December 2010
Karma: 0
|
Junior Member |
|
|
I'm wanting to run my cron.php more often than my current web host allows. They limit me to a cron job once every 15 mins.
For various reasons I'd prefer not to change host, I'm wondering whether there is a work round I could use. I'm thinking some thing along the lines of using a free service such as http://www.onlinecronjobs.com to run additional jobs. It would however mean that I need to put a copy of the cron.php into my public web files. I'm also presuming I may need to make some changes to it to reflect its new location.
Are there any issues with doing this that I should be aware of?
|
|
|
Re: Cron.php [message #164163 is a reply to message #164162] |
Fri, 07 January 2011 10:54 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
Kiwi wrote on Thu, 06 January 2011 23:33I'm wanting to run my cron.php more often than my current web host allows. They limit me to a cron job once every 15 mins.
Why? It seems like that's all you'd be doing 24/7/365!
"I'm a Witcher, I solve human problems; not always using a sword!"
|
|
|
|
Re: Cron.php [message #164170 is a reply to message #164165] |
Fri, 07 January 2011 12:35 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
Personally I don't even know how to implement a chron job myself although I do understand that it is an automated action, and I generally think of it in terms of backups.
I was just curious why you would want to run one so often, since to my mind such things take some measure of resources away from other things (thus the imposed limits) , keeping the mailing list in context makes more sense in this case just like my mail system checks mail every 15 minutes so it does not hit me all at once even though I don't get that much daily.
Overall I am just weighing the pros and cons as to which are the best options for me, which does not mean they are the best for everyone.
"I'm a Witcher, I solve human problems; not always using a sword!"
|
|
|
|
Re: Cron.php [message #164189 is a reply to message #164186] |
Sat, 08 January 2011 10:49 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
Kiwi wrote on Fri, 07 January 2011 21:42In my tests I noticed that some of my messages were entering the forum in the wrong order. I can imagine on a really busy forum it would be critical.
Is there anyone who I should direct my original question to. I'm quite keen to get an answer before doing this in case there are security issues etc. There must have been a reason why the cron.php was put in the non-public area in the first place!
If you have read and searched here you already know who the most knowledgeable ones are, and just how little information has been shared/posted about cron jobs.
Off hand I'd say there are definitely security issues if you are talking about placing executable files in your public areas.
"I'm a Witcher, I solve human problems; not always using a sword!"
|
|
|
|
Re: Cron.php [message #164203 is a reply to message #164191] |
Sat, 08 January 2011 19:27 |
Ernesto
Messages: 413 Registered: August 2005
Karma: 0
|
Senior Member |
|
|
If it's in a public area, anyone can trigger it. So if I found out and wanted some online lulz, I would trigger your cron.php a thousand times a second until your server crashed.
Ginnunga Gaming
|
|
|
|