Dimas Putra Posted October 16, 2010 Posted October 16, 2010 Hello Helionet! Well, I need more numbers of Cron Jobs execution allowed to every two hours. I built little application for automatically update a twitter account status that contains newest local weather information. I beleave it just take little memory just as my public page. Please Thank You!
Byron Posted October 16, 2010 Posted October 16, 2010 This support request is being escalated to our root admin. Let me make a suggestion if your application is written in php. Use a php include to run the update script so that everytime somebody visits your page the weather gets updated. Using this method instead of a cron job.
Dimas Putra Posted October 16, 2010 Author Posted October 16, 2010 This support request is being escalated to our root admin. Let me make a suggestion if your application is written in php. Use a php include to run the update script so that everytime somebody visits your page the weather gets updated. Using this method instead of a cron job. Well, maybe that's a good idea. But i don't have much traffic to do that. The weather gets updated every 2 to 4 hours, so I'd rather use cron jobs, since I'm not always get online to run the script every hours. How do I know when it's accepted? This support request is being escalated to our root admin. Let me make a suggestion if your application is written in php. Use a php include to run the update script so that everytime somebody visits your page the weather gets updated. Using this method instead of a cron job.
Byron Posted October 16, 2010 Posted October 16, 2010 How do I know when it's accepted? The admin. (djbob) will post and let you know.
Wizard Posted October 16, 2010 Posted October 16, 2010 Djbob rarely accepts requests for more cron jobs. Don't get your hopes up.
Guest Geoff Posted October 17, 2010 Posted October 17, 2010 Suggestion: create a php script that checks if it has been longer than two hours (or whatever) since it has last called the update script. MAKE SURE THAT IT DOES NOT RETURN ANYTHING TO THE BROWSER. <?php if((file_get_contents("lastcalled.txt) - time() ) >50) { include "update_script.php"; } ?> Ok, then just put an image link to that script in your twitter signature, your helionet signature, or whatever. Then, that script will be called often, but it won't use up any bandwidth, (or a minuscule amount). <img src="http://absolute/path/to/your/script.php"></img> Problem solved.
Recommended Posts