How to Use Cron Jobs for Automating Tasks on Your Server Print


Cron jobs let you schedule scripts or tasks to run at regular intervals — perfect for backups, database syncs, or any recurring job.

Setting Up a Cron Job in cPanel:

  1. Log in to cPanel.
  2. Go to Cron Jobs under the Advanced section.
  3. Choose the time interval (e.g., once a day, every 5 minutes).
  4. Enter the command (e.g., /usr/bin/php /home/user/public_html/script.php).
  5. Click Add New Cron Job.

Use cron jobs responsibly — running scripts too frequently can increase your resource usage. Contact Aviumshost support if unsure.


Was this answer helpful?

Related Articles

What is SSD Hosting and Why Does it Matter? Aviumshost uses SSD (Solid State Drive) technology on all hosting plans to deliver faster and... Understanding cPanel and Its Features cPanel is the control panel interface you use to manage your Aviumshost hosting account. It's... What is CDN and How Does It Improve Website Speed? What is CDN and How Does It Improve Website Speed? A CDN (Content Delivery Network) is a network... How to Enable Gzip Compression on Your Website How to Enable Gzip Compression on Your Website Gzip compression reduces the size of your web... What is HTTP/2 and How Does It Improve Performance? What is HTTP/2 and How Does It Improve Performance? HTTP/2 is a modern version of the HTTP...
« Back