Search our database

How to setup Cronjobs in DirectAdmin control panel

1.) Log into the DirectAdmin control panel main page, go to the ‘Cronjobs’ page.

2.) You can see the settings for creating a new cronjobs.

3.) 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:

Example of cron commands and the directory of the cron script located:

/usr/local/bin/php /home/'username'/domains/''/public_html/script.php
/usr/bin/wget --output-document=/dev/null > /dev/null 2>&1

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

Tags: ,