How to Set Up Cron Jobs in DirectAdmin

Security & Backups 1 min read Updated Oct 30, 2026

Cron jobs run a command on a schedule, such as every hour or every night. They’re commonly used for WordPress tasks, reports and cleanups.

Good to know Menu names in this guide follow DirectAdmin’s default Evolution skin. If your dashboard uses a different layout (Grid, Sidebar or Refreshed), the same tools exist under the same names — use the search box at the top of DirectAdmin to jump straight to them.

Create a cron job

  1. Go to Advanced Features › Cron Jobs.
  2. Click Create Cron Job.
  3. Set Minute, Hour, Day of Month, Month and Day of Week. * means “every”.
  4. Enter the command and click Create.

Timing examples

Schedule Min Hour Day Month Weekday
Every 15 minutes */15 * * * *
Daily at 2:30 am 30 2 * * *
Mondays at 9 am 0 9 * * 1

Times use the server’s time zone, which may differ from yours.

WordPress example

/usr/local/bin/php /home/USERNAME/domains/yourdomain.com/public_html/wp-cron.php >/dev/null 2>&1

The path to PHP can differ between servers. Ending the command with >/dev/null 2>&1 stops a notification email being sent every time it runs.

Frequently asked questions

What is the shortest interval allowed?

Cron can technically run every minute, but very frequent jobs can use a lot of resources. We recommend 5 minutes or more on shared hosting.

Related articles

Still need help?

Our support team is here for you.

Email: support@crowncityhost.com

Open a ticket