How to Create a Cronjob in cPanel Print

  • 0

Cron jobs are scheduled tasks that run automatically on your server at specific times or intervals. They are useful for automating repetitive tasks like backups, sending emails, or running scripts.

Follow this guide to create a cron job for running a PHP script once per day.

 

1. Log in to your cPanel account.


2. In the Advanced section, click on Cron Jobs.


3. 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.

4. Enter the location of your cron job PHP file or the command you want to run in the Command field.

5. Click on Add New Cron Job.


We hope this tutorial is helpful to you.


Was this answer helpful?

« Back