Question
Is there any way to schedule some PHP script to run each day? Kind of like a cronjob. I would like to use a script to update some data.
Thanks!
Is there any way to schedule some PHP script to run each day? Kind of like a cronjob. I would like to use a script to update some data.
Thanks!
There is no way you can schedule tasks on free hosting, not even web crons that used to exist until 2/3 years ago and then got removed due to them generating load on free hosting servers; plus any other web cron service will not work here due to this security system:
If you want cron jobs, please consider upgrading to Premium Hosting as it offers more features alongside crons as well.
The simple answer is no
The more complex answer is no - but kind of
You can create a php script to do the updates, but the PHP is only called when the page is visited. So you could write the script in such a way that it checks when it was last run, and if its been more than a day, run again. But it wont automatically run at a set time like a cronjob
CronJobs were unfortunaitly disabled a while back: