Articles on: Direct Admin

Setting Up Cronjobs in Direct Admin

Login to Direct Admin console and click on target domain.

Under Advanced Features, click on Cronjobs.

On this page, you can see a list of settings for new cronjobs.

Upload your cronjob scripting to a directory of your hosting space through ftp. Then on the cronjobs settings, insert the command and the cronjob scripting to the command box as highlighted as below:

NOTE: Example of Cron Command and Directory/Path

/usr/bin/wget --output-document=/dev/null > /dev/null 2>&1

Directory or Path:
/usr/local/bin/php /home/'username'/domains/''/public_html/script.php

Configure the time of the cronjob should run and then click ‘**Add**’, done.

Updated on: 09/03/2020

Was this article helpful?

Share your feedback


Thank you!