You can set the Cron job in the cpanel using the following instructions.
To access the Cron Jobs Menu, click on the corresponding icon located in the Advanced section on the main screen of your cPanel interface.
Adding a Cron Job
Step 1: To access the Cron Jobs Menu, click on the corresponding icon located on the main screen of your cPanel interface.
Step 2: (optional): Enter the email address where the cron output will be sent to in the corresponding field.
Step 3: Enter the command you wish the cron job to run in the blank field next to the Command field.
Step 4: Select how often you wish the command to be run by selecting an option in each of the boxes or by selecting a predefined period from the Common Settings drop-down menu.
Step 5: Click on Add New Cron Job to save your changes and set up your cron job.
Important The command run by the cron job must be a valid command.