Difference between revisions of "Cron Jobs"
From Hostek.com Wiki
m (→cPanel - Setting up Cron Jobs) |
|||
Line 1: | Line 1: | ||
__FORCETOC__ | __FORCETOC__ | ||
− | ==cPanel - Setting up Cron Jobs== | + | ==cPanel/Linux - 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 /> | + | #Please keep in mind that you may have to have a cron job be executed by a specific service.<br /> |
− | For Example a | + | #For Example a PHP File to be run: |
/usr/bin/php -q /home/user/public_html/cron.php | /usr/bin/php -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: | + | #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/php -q /home/user/public_html/cron.php > /dev/null | /usr/bin/php -q /home/user/public_html/cron.php > /dev/null | ||
− | If you are using get for a http request it would be like this: | + | #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> | /usr/bin/curl --silent --output /dev/null <nowiki>http://yourdomain.com/cron.php</nowiki> | ||
− | ==WCP/ | + | ==WCP/Windows - Setting up Cron Jobs== |
− | This option is currently not available within MochaPanel. | + | #This option is currently not available within our Windows plans, which utilize WCP (MochaPanel). |
+ | #Alternatively, if you have need of a Cron Job: please submit a ticket to our support team (here: [http://support.hostek.com/ Support]) or send an email to '''support@hostek.com''' with the '''Frequency''' and the '''URL''' of the Task and we'll see if we can't get that added for you. |
Revision as of 14:44, 7 May 2014
cPanel/Linux - 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 run:
/usr/bin/php -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/php -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/Windows - Setting up Cron Jobs
- This option is currently not available within our Windows plans, which utilize WCP (MochaPanel).
- Alternatively, if you have need of a Cron Job: please submit a ticket to our support team (here: Support) or send an email to support@hostek.com with the Frequency and the URL of the Task and we'll see if we can't get that added for you.