Home My Account

Create Cron Job on Linux Hosting with cPanel

December 25, 2015

Cron is a standard Linux feature that lets you schedule tasks, called "Cron Jobs," to run unattended at a specified frequency.

  1. Log in to your Account.
  2. Click Web Hosting.
  3. Next to the hosting account you want to use, click Manage.
  4. in the Advanced section, click Cron jobs.
  5. Complete the on-screen fields detailing your Cron Job, and then click Add New Cron Job.
  6. You can call PHP scripts for Cron Jobs by using the following in the Command field:

 /usr/local/bin/php -q /home/[user name]/[path to the file]

Tweet