Cron Jobs

From Hostek.com Wiki
Revision as of 14:44, 7 May 2014 by Seanc (Talk | contribs)

Jump to: navigation, search


cPanel/Linux - Setting up Cron Jobs

  1. Please keep in mind that you may have to have a cron job be executed by a specific service.
  2. For Example a PHP File to be run:
/usr/bin/php -q /home/user/public_html/cron.php
  1. 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
  1. 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

  1. This option is currently not available within our Windows plans, which utilize WCP (MochaPanel).
  2. 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.