Cron job on shared hosting

Cron job on shared hosting

by haris mari -
Number of replies: 2

Hello, i have installed successfully the latest moodle but i have a problem, i read about cron php but my hosting provider doesn't have cron jobs features. Is there any other way i can automate running the cron.php?

How necessary is that php script? What is the impact of not running it?

Average of ratings: -
In reply to haris mari

Re: Cron job on shared hosting

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Very necessary. There are loads of things that won't work. You can't even delete files!

There are online cron services you can sign up to (example, not a recommendation, https://www.easycron.com/). You need to enabled the web-based cron in Moodle and point the cron service at that. Read - Cron
In reply to haris mari

Re: Cron job on shared hosting

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers
Are you sure that you do not have access to cron? Historically, many shared hosting plans included tools like cPanel which provided access to cron.

If your hosting provider does not give you access to cron, consider switching to a different provider.
Average of ratings: Useful (1)