Steps to create a Cronjob in cPanel
-
Log in to your cPanel account.
-
In the Advanced section, click on Cron Jobs.
-
Under Add New Cron Job, click on the Common Settings drop-down menu and select an appropriate option such as Once Per Day or another suitable option.
-
Enter your cronjob PHP file location or the command you want to run in the Command field.
-
Click on Add New Cron Job.