How to enable DirectAdmin Auto Update ?

Hello,

Code:
[B]cron:[/B] yes, no. Current value: yes. Default value: no.
[B]da_autoupdate[/B]: yes, no. Current value: no. Default value: no.
[B]updates[/B]: yes, no. Current value: no. Default value: no.
[B]webapps_updates:[/B] yes, no. Current value: yes. Default value: yes.

That's the options from custombuild. You can change them in /usr/local/directadmin/custombuild/options.conf and then run:

Code:
./build cron
 
Sorry for bumping an old question and probably a very silly question, but I couldn't find the information for it anywhere.

When are the updates run? I cannot seem to find it anywhere? Maybe I overlooked it.
 
If you want to keep custombuild and directadmin up to date use the below.
cron_frequency (can be daily, weekly or monthly)

Code:
cd /usr/local/directadmin/custombuild
./build set cron yes
./build set cron_frequency daily
./build set notifications yes
./build set da_autoupdate yes
./build set updates yes
./build set webapps_updates yes
./build set clean yes
./build set cleanapache yes
./build set clean_old_tarballs yes
./build set clean_old_webapps yes
./build cron

As to when would vary based on when daily, weekly, or monthly cron runs. the last one I see was about 6 am

Code:
cat /etc/anacrontab

or

cat /etc/crontab

This doesn't keep the OS updated.
 
Last edited:
Back
Top