Call Us: (855) GO-LICENSE
(855) 695-4236
English
Accuracy is EXTREMELY IMPORTANT to us;
That's why we're always reviewing our answers.

Support Center

The LicenseCube support knowledge base has 234+ articles. These articles will assist you in resolving almost any issue you should face!

Rate This Article

starstarstarstarstar

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

starstarstarstarstar
Art. Nr: 108  |  Rating: 4/5 from 640 votes  |  Last Updated: Fri, May 18, 2012

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/getLicense.sh 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.

Great guide for Linux professional administrators dealing with DirectAdmin.

Posted by Ricco - Thu, Jun 7th, 2012

Post your Comments