Say I want a php script the run the function itstime() every hour. Other than setting up a cron job on the server how can I do this?
Or is this not possible because php scripts need to be opened to be ran?
Thanks.
Say I want a php script the run the function itstime() every hour. Other than setting up a cron job on the server how can I do this?
Or is this not possible because php scripts need to be opened to be ran?
Thanks.
There's some web services doing this, for example
The only other way than to use cron or a webservice that runs cron is to use a workaround; each time the site is loaded by a user, check if it is more than an hour since last time and if it is, run the function. Not very pretty though..
you can write a daemon in php, although it's overkill to cron, you can google for it