Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  cPanel  >  Cron jobs (cPanel)
Top Scroll

Cron jobs (cPanel)

 2 min

Cron jobs allow you to automate certain commands or scripts on your site. You can set a command or script to run at a specific time every day, week, etc. For example, you could set a cron job to delete temporary files every week to free up disk space. Schedulers which will do work for you at specific time, date.

You need to have a good knowledge of Linux commands before you can use cron jobs effectively. Check your script with your hosting administrator before adding a cron job.

Cron Email

Send an email every time a cron job runs. You can have cron send an email every time it runs a command. If you do not want an email to be sent for an individual cron job you can redirect the command’s output to /dev/null like this: mycommand >/dev/null 2>&1

Set the email address on which you wish to receive notifications.

Add New Cron Job

With our linux cPanel hosting packages, you can set the cron jobs with few clicks & selecting the appropriate options from the dropdown.

cron jobs

Cron jobs can be accessible by logging into your cPanel >> Advanced >> Cron jobs. You can set unlimited cron jobs with hosting packages at MilesWeb.

Read: How to Add, Edit and Delete Cron Jobs in cPanel

Save

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
30
MINS
59
SECS
Claim the discount before it’s too late. Use the coupon code:
STORYSAVER
Note: Copy the coupon code and apply it on checkout.