Xgenious/ docs
Products
Get support

to configure cron job login to your OVH account go to your the server page, then click on more button and then click on cron button.

ScreenshotScreenshot

now click on Add a scheduling button to create a new cron job. follow the screenshots below

Step 01: set file as this screenshot is showing, set php version to 8.1, check the enable box then click on next.

ScreenshotScreenshot

Step 02: click on basic mode , set hours , days, days of the week, month

ScreenshotScreenshot

Step 03: click on confirm button

ScreenshotScreenshot

now create a file name cron.php in www folder.

ScreenshotScreenshot

add below content into the file

<?php

$_SERVER['argv'] = [
'artisan',
'schedule:run',
];

// On lance artisan
require __DIR__.'/@core/artisan';

that's all to configure cron job in OVHCloud server..

Still stuck?
Our support team is ready to help you get set up.
Get support