To create a cron job, perform the following steps:

1 – Open cPanel (yourdomain/cpanel).
2 – Click on (Cron Jobs) from Advanced section.
3 – Select the interval at which you wish to run the cron job from the appropriate menus, or enter the values in the text boxes.
4 – In the Command text box, enter the command that you wish the system to run.
5 – Click Add New Cron Job.