How to set up a cron job

Cron jobs run a command on a schedule, such as a nightly script.

  1. In cPanel, open Cron Jobs.
  2. Choose a common setting (for example once per day) or set the minute, hour and day fields yourself.
  3. Enter the command, for example /usr/local/bin/php /home/cpuser/public_html/script.php, replacing cpuser with your cPanel username.
  4. Click Add New Cron Job.

Note: Avoid running jobs every minute unless you really need to. Frequent heavy jobs can hit your account's resource limits.


Still need help? Open a ticket at https://portal.ixist.co.za/submitticket.php or email support@ixist.co.za. Live support hours: Monday to Friday, 9am to 5pm (South African time).

  • cron, scheduled tasks
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

A quick tour of cPanel

cPanel groups its tools into sections. The ones you will use most:Files: File Manager, FTP...

How to upload files with File Manager

File Manager lets you add and edit website files without extra software.In cPanel, open File...

How to create an FTP account

FTP lets tools like FileZilla transfer files to your hosting account.In cPanel, open FTP...

How to download a backup of your website and email

Your hosting account is backed up automatically with JetBackup. You can download a copy to your...

How to restore files, databases or email from JetBackup

If something was deleted or broken, you can usually put it back yourself from a JetBackup...