How to set up a cron job?

When you want to set up a cron job, you'll need to login to cPanel, head on over to "ADVANCED" section and click on "Cron Jobs" icon.

Next, you will need to choose the timing and common settings, and enter your command to run for cron:

/usr/local/bin/php -q /home/USERNAME/public_html/PathToFile

Replace "USERNAME" with your ID and PathToFile with the rest of the path for your cron job file.

When finished, click Save Cron.

  • cron job, cron jobs, cpanel, cpanel job, cpanel jobs
  • 0 Users Found This Useful
Was this answer helpful?