DirectAdmin Manual

Helping you get the most out of DirectAdmin and your web!

Create a CRON job

Newer DirectAdmin version

  1. Open Advanced Features → CRON Jobs.
  2. Click Add Cron Job.
  3. Fill in Minute, Hour, Day of Month, Month and Day of Week.
  4. Enter the complete command with absolute paths.
  5. Review the displayed frequency and click Create.

Older DirectAdmin version

  1. Open Advanced Features → Scheduled Tasks.
  2. Click Create Cron job.
  3. Fill in the five time fields; * means every allowed value.
  4. Enter the command and click Create.

The @reboot option

Run on @reboot executes the job after the server starts. The provider controls hosting reboots, so this is not a replacement for a persistent service or a regular schedule.

Safe first run

  1. Temporarily enable a log or email output.
  2. Select a near-future time and verify the result.
  3. Only then apply the final interval.
  4. Make sure two runs cannot overlap when a job takes longer.
Back to chapter overviewContact Euroserver support