If your hosting provider provides you with Plesk to manage your hosting, please ensure that it has cronjob access. To setup your cronjob with Plesk, follow the steps below:
To create a scheduled task, go to
Tools & Settings > Scheduled Tasks (Cron jobs) > Add Task.For the
Task Type, you may use either the url or php script type. Please read more about cronjobs here, where you can get the url(if you choose to use url type) and cronjob file path(if you choose to use php script type).The url type is normally easier and faster to setup. Regarding the php script type, each webhosting provider may have different paths to your site's folder so you will need to consult them first to get the complete and correct path.
Select how often the task will run, and set the desired time and date. In the screenshot above, the cron is set to run every 5 minutes. You also have the ability to set a description for the task, and configure notifications(useful when troubleshoot issues with cronjob).
