Troubleshooting

Why are my cron jobs not running?

Cron jobs run scheduled tasks automatically. If yours are not firing, check these points.

  1. Check the schedule and command. In the DirhamHost panel at my.dirhamaday.ae, open Cron Jobs and confirm the timing fields and the command path are correct. A wrong path is the most common cause.
  2. Use the correct PHP path. For PHP scripts, call the right PHP binary, for example /usr/local/bin/php /home/USER/public_html/script.php, using the full path to your file.
  3. Check the output/errors. Have the job email its output, or redirect it to a log file, so you can see why it fails.
  4. Don't set it too frequently. Very frequent crons (every minute) can be limited; space them sensibly.

WordPress note: WordPress's built-in wp-cron only runs when someone visits the site, so low-traffic sites can miss scheduled posts or backups. The fix is to disable the pseudo-cron (define('DISABLE_WP_CRON', true); in wp-config.php) and add a real cron job that calls wp-cron.php on a schedule.

If a job still won't run after checking the path and command, contact our 24/7 team on WhatsApp +971 58 553 6767 or support@dirhamaday.ae with the exact cron line and we will test it with you.

Still need a hand? Our UAE-based team is here 24/7.

Related articles

My website is down, what do I do?How do I fix a 500 Internal Server Error?What causes 502 and 504 gateway errors?How do I fix a 403 Forbidden error?Why am I getting a 404 Not Found error?