Here is the post to how to set up a cron job for your Magento 2 in cPanel
Go to cPanel login -> Look for Cron Jobs section
If you want to use the path of the cron file in your Magento 2 website, enter the command like below. You can set cron for minutes, hourly, daily, monthly or for weekdays.
This example is configured here to run the cron every 15 minute.
If you want to use the link of the cron.