How do I automate the updating of my DirectAdmin license via SSH?

The process for automating the update process of your DirectAdmin license via SSH is quite easy and can be done with basic command line knowledge. Please follow the step-by-step directions outlined below:

  • Login to your DirectAdmin Virtual/Dedicated server via SSH
  • Next, go to the following location:

    # /etc/cron.d/

  • Once there, edit/open a file called "directadmin_cron"
  • Within the aforementioned file, please add the following row:

    0 6 15 * * root /usr/local/directadmin/scripts/ 24580 <LICENSE-ID>

  • Please update the values mentioned above in BOLD
  • Next, save the changes to apply them!
  • Finally, please run the following command to restart the cron:

    # /etc/init.d/crond restart

Should you have any further questions pertaining to your DirectAdmin license, please feel free to get in contact with our web hosting support team for additional assistance.

Posted : LicenseCube Support - Tue, May 15, 2012. This article has been viewed 0 times.
Online URL: