Results 1 to 1 of 1
-
1st Mar 2014, 04:06 PM #1
How to setup a cron job in cPanel
This demo assumes you've already logged in to cPanel
Now let's learn how to setup a cron job
1) Click the Cron Jobs icon
2) Enter the email address where you want the cron job results sent after each time it runs
3) Now you have to define exactly when and how often you want the cron job to run. This is made easier by using one of the pre-defined or common settings
Notice that by choosing a common setting, all fields are filled in automatically. This also helps you understand what each field means
If you have a shared hosting account, crons should not be made more regular than once every 10 minutes.
4) Let's choose Once a week
5) Next, enter the command of the script you want to run, including the path (from root). If you are on shared hosting - add nice -n 15 to the start. This ensures that the server gives the cron a lower priority than critical system processes, helping maintain stability and server uptime.
Remember to add "nice -n 15" to the start of your command!
6) When ready, click Add New Cron Job
That's it! The cron job has been set as you can see here. You can create additional cron jobs, and edit or delete existing ones
This is the end of the tutorial. You now know how to setup cron jobs in cPanelAreon Reviewed by Areon on . How to setup a cron job in cPanel This demo assumes you've already logged in to cPanel Now let's learn how to setup a cron job 1) Click the Cron Jobs icon http://www.besthostingforums.com/images/cdn/besthostingforums.com/2014/03/scene04_1-11.png 2) Enter the email address where you want the cron job results sent after each time it runs http://www.besthostingforums.com/images/cdn/besthostingforums.com/2014/03/scene06_1-11.png 3) Now you have to define exactly when and how often you want the cron job to run. This is made Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Cron or Pseudo-cron?
By m1mi.dan0s in forum Webmaster ResourcesReplies: 5Last Post: 29th Jul 2012, 07:14 PM -
Some basic cPanel server security tips / cpanel setup
By DLow in forum Technical and Security TutorialsReplies: 0Last Post: 28th Jun 2012, 03:19 PM -
Cron Jobs Help in cPanel URGENT PLEASe
By TheCricketMaster in forum Technical Help Desk SupportReplies: 2Last Post: 6th Feb 2010, 12:36 PM -
how to setup cron in cpanel?
By pirateaccess in forum Server ManagementReplies: 5Last Post: 26th Oct 2009, 07:26 PM -
cronjob setup in cpanel
By pirateaccess in forum Webmaster DiscussionReplies: 1Last Post: 15th Jun 2009, 06:54 PM
themaCreator - create posts from...
Version 3.23 released. Open older version (or...