View Full Version : Auto run with out Cron jobs
Decode
27-11-2008, 06:38 PM
Is it possible to auto run a .php file on my site with out using cron jobs? Its because I don't have cpanel on my localhost and my site is going to depend on a script running every hour to update some of the page content.
Source
27-11-2008, 08:12 PM
I havn't really looked into it, but the only viable way would be through cron jobs.
An idea is if you site has a page which is frequently looked at, do a function to check when the script was last run, then if its longer or equal to an hour ago... run it.
Not a great solution I know, but would work.
Decode
28-11-2008, 04:03 PM
Thanks, that's a good idea :) I will do it like that.
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.