How Do I Create a Cron Job?

Cron jobs run scheduled commands at specific times. The Cron Jobs tool in cPanel is helpful for setting up automated maintenance and other unmanned server duties such as automatic updates of prices of currencies. i used them when i was working on a cryptocurrency platform that need to update the price of bitcoin every second. This led me to find pout what i will share with you.


                    
Below are the steps to create a cron job
To create a cron job:
  1. Log into cPanel.
  2. click Cron Jobs In the Advanced section.
  3. Under Cron Email, make sure the current email address is valid. If not, enter a new, valid email and click Update Email. You will receive an email after the cron job has finished.
  4. Under Add New Cron Job, use the Common Settings drop-down menu to choose from a list of regularly used intervals; or set the frequency of your cron job by using the drop-down box next to each time unit. Common settings range from every minute to once a year.
  5. In the Command field, enter the desired command.
  6. Click Add New Cron Job.
Your cron job will then be execute a file at a certain time, date and repetition, according to the settings you selected.

Share To:

Post A Comment:

0 comments so far,add yours

Thanks for leaving a comment on our blog. You can select Comment as: Name/URL to comment if you want to share a link.We want our comment section to be clean.
Or comment with Facebook by clicking above