I installed Contao on my server, and I want to set up a cron job to trigger Contao's cron job script. What should I do to set up the cron job?
Our webcron service is best for triggering Contao's cron job script. Just follow below simple steps to configure cron job for your Contao:
- Open your cron job dashboard, click on " Cron Job" button.
- Disable the command scheduler:
Disable the command scheduler
- In field "URL to call", enter http://www.example.com/system/cron/cron.php (replace www.example.com with your install location). Choose an appropriate cron job execution frequency.
Set up cron job for Contao
- If necessary, finish the other optional settings.
- Click "Create Cron Job" button. You're done! WorkCron will trigger your Contao's cron job script dutifully according to your time setting.
- If you haven't registered your WorkCron account yet, click on the "add a password" link on the top to add an email and password to your account.