Managing Cron Jobs in cPanel Print


Cron Jobs allow you to automate repetitive tasks like running scripts at set intervals.

Steps to Set Up a Cron Job:

  1. Log into cPanel via Aviumshost.
  2. Under Advanced, click on Cron Jobs.
  3. Select a predefined schedule or enter a custom one (e.g., 0 2 * * * for 2am daily).
  4. Enter the command to run, such as:
    /usr/bin/php /home/username/public_html/script.php
  5. Click Add New Cron Job.

Check output via email by setting a notification address at the top of the page.


Was this answer helpful?

Related Articles

How to Use SSH Access on Shared Hosting SSH (Secure Shell) provides encrypted command-line access to your hosting account — ideal for... Custom .htaccess Rules for Advanced Configuration The .htaccess file allows you to control many Apache settings for your site. Common Uses:... Using Git Version Control in cPanel Track changes and deploy code efficiently using Git from your Aviumshost cPanel. Create a Git... PHP Configuration Overrides (php.ini & .user.ini) You can customize PHP settings like memory limit or max upload size without needing root access.... How to Enable Two-Factor Authentication for cPanel Two-Factor Authentication adds an extra layer of security to your hosting account, preventing...
« Back