DirectAdmin Manual

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

CRON jobs and running scripts

CRON automatically runs a command at a selected time. Typical uses include an application's scheduler, imports, exports, cleanup and sending notifications.

DirectAdminWhere to find CRON
Newer version — for example srv1.webdom.sk and srv5Advanced Features → CRON Jobs
Older version — for example web1, web2, srv3 and web4Advanced Features → Scheduled Tasks

CRON runs in the background without an open browser. Use absolute paths and test the command manually first. Do not schedule it more frequently than the application requires.

Guides

Before creating a job

  • Find the exact command in the application's documentation.
  • Verify the user, domain, file path and required PHP version.
  • Choose a sensible interval; shared-hosting CRON is not designed for jobs every second.
  • Decide whether errors should be emailed or written to a log.
Back to chapter overviewContact Euroserver support