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.

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.
Lets set the stage on fire, and hollywood will be jealous.
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.
Thanks, that's a good ideaI will do it like that.
Lets set the stage on fire, and hollywood will be jealous.
Want to hide these adverts? Register an account for free!