Free .co.zw domain with annual hosting View hosting plans
WhatsApp +263 78 377 1089 JomeTech Africa, 163 Chinhoyi Street, Corner Chinhoyi Street and Nelson Mandela Avenue, Harare
Server status Support Client login
JomeTech Hosting: Fast, Secure, Always Online
Free .co.zw domain for the first year with annual hosting View Plans →

Using Cron Jobs Print

  • 0

Cron jobs allow you to schedule tasks or scripts to run automatically at specific times, making them ideal for recurring processes like backups or sending emails.

Steps to Set Up Cron Jobs in cPanel:

  1. Log in to cPanel.
  2. Navigate to the Cron Jobs section under the Advanced category.
  3. Set the Email Notifications for the cron job. This ensures you receive an email if the cron job encounters issues.
  4. Configure the Timing Settings:
    • Use the pre-set intervals (e.g., once per day, once per week) or set a custom schedule using cron syntax.
    • Example custom schedule:
      • 0 3 * * * runs the cron job every day at 3:00 AM.
  5. Enter the Command to Execute:
    • Example: php /home/username/public_html/cron-script.php
      Replace /home/username/public_html/cron-script.php with the path to your script.
  6. Click Add New Cron Job to activate it.

Pro Tip: Ensure your script has the correct permissions and is tested before scheduling it as a cron job.

If you encounter any issues while using these advanced features, contact JomeTech Africa Support:


Was this answer helpful?

« Back

Chat with us