/go/dst installs or updates tzdata, the operating system package that holds the world's timezone definitions, daylight saving time (DST) rules, and their historical changes. Run it when a country changes its DST rules, so the server's clocks and any software that reads the system timezone files stay correct. The command does not print the rules or change the server's timezone. To set the timezone, use timezone. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
/go/dst
Options
None.
Examples
# Update the timezone data
/go/dst
# Check the installed version
rpm -q tzdata
Output
The command prints nothing, not even errors: the package manager’s output is discarded. Check the result yourself:
# RHEL family
rpm -q tzdata
# Debian and Ubuntu
dpkg -s tzdata | grep Version
# Confirm a zone loads
TZ=Africa/Cairo date
See the full reference at /go/dst and the GoAdmio command index.
GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.
