How to create new cronjob in DirectAdmin?

  1. Log in to Your DirectAdmin
  2. If You have more then 1 domain, click "Home" and click domain, for which You want to create new cronjob.
  3. Click "Cronjobs".
  4. After You fill in all fields click "Save".
  5. Examples:
  • if You want to run PHP script every minute, leave * in all fields, and in command type something like: /usr/local/bin/php /home/yourusername/domains/yourdomain.com/public_html/yourscript.php
  • if You want to enter custom website every minute, leave * in all fields, and in command type something like: /usr/bin/wget -O -q "http://www.yourwebsite.com/subpagepage.php"

We strongly recommend You to press "Prevent Email" for each new command, that You create, so system will not sent emails every time it will execute cronjob.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Resellers: How to create custom nameservers

If you have a reseller account you might like to have your own nameservers for your customer's...

How to Create Reseller or Master Reseller in DirectAdmin with DAreseller?

To change a Package as Reseller/Master Reseller Package follow these instructions Go to...

How to create an email account in DirectAdmin?

DirectAdmin is a hosting control panel for Linux server. Please perform the following steps to...

How to host a domain in DirectAdmin?

DirectAdmin is a hosting control panel for Linux server. Please perform the following steps to...

How to create an FTP account in DirectAdmin?

  Perform the following steps to create an FTP Account in DirectAdmin control panel: Login to...