{"id":581,"date":"2019-01-28T16:57:25","date_gmt":"2019-01-28T11:27:25","guid":{"rendered":"https:\/\/mediastroke.com\/blog\/?p=581"},"modified":"2019-01-30T14:22:57","modified_gmt":"2019-01-30T08:52:57","slug":"how-to-add-cron-jobs-in-cpanel","status":"publish","type":"post","link":"https:\/\/mediastroke.com\/blog\/how-to-add-cron-jobs-in-cpanel\/","title":{"rendered":"How to add cron jobs in cPanel"},"content":{"rendered":"\n
\nCron jobs are most important\nand useful aspects of cPanel. Basically, these are tasks scheduled to\nrun at set intervals and times. These \u201cjobs\u201d can be scheduled via\ncommand line, but it is easier to do via cPanel .<\/p>\n\n\n\n
\n For example, if you want to\nrun a command on specific time like once a day or once a week, you\ncan setup cron jobs. Cron jobs allow you to run specific command\nautomatically.<\/p>\n\n\n\n
The first step is to log in to cPanel and scroll down till you find section \u201cAdvanced<\/strong>\u201d and then select \u201cCron Jobs\u201d or directly you can search in toolbar as shown here.<\/p>\n\n\n\n You have an option in cPanel to send e-mail whenever this particular cron job runs. It provides facility to keep track on commands. In the following section, enter email address it you want.<\/p>\n\n\n\n This box allow you to select some common schedules for your job. You can get this by selecting one of the option. For example, if you want to choose to run command once a week with default settings.<\/p>\n\n\n\n Once, you have scheduled your time then type the command you want to run into the box labeled \u201cCommand<\/strong>\u201d.<\/p>\n\n\n\n Suppose you want to send mail at once in a week then by using this command you can send mail to that person. You have to add PHP script file in public_html. <\/p>\n\n\n\n <\/p>\n\n\n\n <\/p>\n\n\n\n <\/p>\n","protected":false},"excerpt":{"rendered":" How to add cron jobs in cPanel Cron jobs are most important and useful aspects of cPanel. Basically, these are […]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"yoast_head":"\n<\/a><\/figure>\n\n\n\n
2. Choose E-mail\nsettings:-<\/strong><\/h5>\n\n\n\n
<\/a><\/figure>\n\n\n\n
3. Choosing the\nschedule:-<\/strong><\/h5>\n\n\n\n
<\/a><\/figure>\n\n\n\n
4. Specifying the\ncommand:-<\/strong><\/h5>\n\n\n\n
<\/a><\/figure>\n\n\n\n