How do I acces/run the cron on Azure web services?

Re: How do I acces/run the cron on Azure web services?

by Chris Megahan -
Number of replies: 0
Picture of Core developers

Hi Mike, Chris from Remote Learner here. We're the developers of the Office365 plugins for Microsoft Open Technologies. I'm very glad the install went smoothly. The admin/cron.php file needs to be setup to be executed by the OS your server is running. For example our hosting services all run on RHEL/CentOS distributions and for them you can create a moodle file in the folder /etc/cron.d/ (so /etc/cron.d/moodle) or use crontab. Our setup is a bit more complex but in the simplest form the contents of that file or crontab record would look like the example from this documentation.

*/1 * * * * /usr/bin/php /path/to/moodle/admin/cli/cron.php >/dev/null