Difference between revisions of "Cron Jobs"
From Hostek.com Wiki
(Created page with "__FORCETOC__ ==cPanel - Setting up Cron Jobs== [http://hostek.com/tutorials/cpanel-x3-cronjob.html How to setup a cron job] ==WCP/MochaPanel - Setting up Crong Jobs== This...") |
(→cPanel - Setting up Cron Jobs) |
||
Line 2: | Line 2: | ||
==cPanel - Setting up Cron Jobs== | ==cPanel - Setting up Cron Jobs== | ||
− | [http://hostek.com/tutorials/cpanel-x3-cronjob.html How to setup a cron job] | + | [http://hostek.com/tutorials/cpanel-x3-cronjob.html How to setup a cron job] |
+ | Please keep in mind that you may have to have a cron job be executed by a specific service.<br /> | ||
+ | For Example a php file to be ran: | ||
+ | /usr/bin/bin -q /home/user/public_html/cron.php | ||
+ | |||
+ | If you do not want the email to be received for confirmation you will need to add the following to the end of your request: | ||
+ | |||
+ | /usr/bin/bin -q /home/user/public_html/cron.php > /dev/null | ||
+ | |||
+ | If you are using get for a http request it would be like this: | ||
+ | /usr/bin/curl --silent --output /dev/null <nowiki>http://yourdomain.com/cron.php</nowiki> | ||
==WCP/MochaPanel - Setting up Crong Jobs== | ==WCP/MochaPanel - Setting up Crong Jobs== | ||
This option is currently not available within MochaPanel. | This option is currently not available within MochaPanel. |
Revision as of 21:34, 10 March 2014
cPanel - Setting up Cron Jobs
Please keep in mind that you may have to have a cron job be executed by a specific service.
For Example a php file to be ran:
/usr/bin/bin -q /home/user/public_html/cron.php
If you do not want the email to be received for confirmation you will need to add the following to the end of your request:
/usr/bin/bin -q /home/user/public_html/cron.php > /dev/null
If you are using get for a http request it would be like this:
/usr/bin/curl --silent --output /dev/null http://yourdomain.com/cron.php
WCP/MochaPanel - Setting up Crong Jobs
This option is currently not available within MochaPanel.