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.
- Log in to your Account.
- Click Web Hosting.
- Next to the hosting account you want to use, click Manage.
- in the Advanced section, click Cron jobs.
- Complete the on-screen fields detailing your Cron Job, and then click Add New Cron Job.
- 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]