Files & Databases

Setting up cron jobs

A cron job runs a command or script automatically on a schedule - handy for sending reports, clearing caches, or driving WordPress scheduled tasks reliably. In the DirhamHost panel, open Cron Jobs.

To create one:

  1. Choose a schedule using the timing fields (minute, hour, day, month, weekday) or a common preset like "Once per hour".
  2. Enter the command to run.
  3. Click Add New Cron Job.

Common examples:

Tips: use full paths, redirect output to /dev/null to avoid a flood of emails, and test the command once manually first. Setting a schedule too frequently (e.g. every minute) can strain resources - hourly or a few times a day is usually enough. If your cron does not appear to run, check the command path and that the script has correct permissions. We can help you build the exact command - just ask on WhatsApp +971 58 553 6767.

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

Related articles

Using the file manager in DirhamHostUploading files to your websiteCreating an FTP accountFTP and SFTP settings and portsConnecting to your site with FileZilla