Chat with us, powered by LiveChat

How do I create a cron job?

Category: Advanced

To create a cron job in cPanel is quite easy, yet it provides excellent functionality by allowing the execution of scripts at set times.

  1. Login to cPanel.
  2. Go to the “Cron Jobs” option.
  3. Specify the frequency of the cron and enter the command needing to be run.
  4. Save.

If you need to load a custom php.ini to utilise custom environmental values, you may do so by running the command as such:

php -i /home/cpanelusername/public_html /home/cpanelusername/public_html/path/to/file.php

Where the initial /home/cpanelusername/public_html is the directory where your php.ini resides.

More Info Request
  • Select All
  • Sample Pricing Guide
    Due to the nature of our services as a wholesale provider, we do restrict full pricing from being released. You can request a sample pricing guide to give you some insight as to what you can look forward to by becoming a partner with Synergy Wholesale.
  • API Information
  • Whitelabel Billing Information
  • Migration Process
Required
* Required
Thank you for submitting a More Info Request!
An email will be sent to you shortly with the requested information.
Begin your 7-day free-trial today!
Get Started
Close