How to Set Up Cron Jobs in cPanel ?

November 17, 2025

Cron jobs in cPanel allow you to schedule scripts or commands to run automatically at specified intervals. This is useful for automating tasks like backups, email notifications, or maintenance scripts. TZSMM Host guides you through the setup process.

Step 1: Log in to cPanel

Access your cPanel at https://yourdomain.com:2083 and log in using your credentials provided by TZSMM Host.

Step 2: Navigate to Cron Jobs

Scroll down to the Advanced section and click on Cron Jobs.

Step 3: Choose Common Settings (Optional)

cPanel provides a Common Settings dropdown to quickly select standard intervals (every minute, every hour, daily, weekly, etc.). This simplifies scheduling for typical tasks.

Step 4: Enter Command

In the Command field, enter the script or command you want to run. Example for a PHP script:

/usr/bin/php /home/username/public_html/cron-script.php

Replace username with your cPanel username and adjust the script path as needed.

Step 5: Add the Cron Job

Click Add New Cron Job to save your scheduled task. The script will now run automatically at the selected intervals.

Step 6: Verify Email Notifications

By default, cPanel sends an email after each cron job runs. You can set or change the email address in the Cron Email section to monitor your scripts.

Conclusion

Setting up cron jobs in cPanel automates repetitive tasks, saving time and ensuring your scripts run reliably. TZSMM Host provides guidance and support to help you manage automated tasks efficiently on your hosting account.

Was this answer helpful?

39 Users Found This Useful (139 Votes)

Comments