Short answer
In DirectAdmin open Advanced Features then Cronjobs, set the schedule and the command to run. Traxio allows intervals down to one minute. For a PHP script, call the PHP binary with the full path to the file rather than fetching its URL.
Learn more
- How to create a cron job in DirectAdminSchedule scripts and commands to run automatically with DirectAdmin cron jobs: the schedule fields, the command line, and handling output.
- Cron schedule syntax explained (with examples)Read and write cron schedules: the five fields, *, ranges, lists and step values, plus copy-ready examples for common schedules.
- Running PHP scripts from cron: paths, output and common mistakesWrite PHP scripts that run reliably from cron: the PHP binary path, working directory, includes, time limits, locking and logging.
Step-by-step
- Schedule a task with a cron jobIntermediate · 20 min · 8 steps
Traxio accounts include SSH, Git, cron and PHP 7.4 to 8.3. Try the PHP hosting is free for 30 days with no card, then £0.99 a month.