- Run as root
crontab –e
- Usage
# m h dom mon dow command
For example, schedule a reboot at 8pm(system time) on every sunday
00 20 * * 7 shutdown -r now
crontab –e
# m h dom mon dow command
For example, schedule a reboot at 8pm(system time) on every sunday
00 20 * * 7 shutdown -r now
apt-get install ntp
vi /etc/ntp.conf
Example -
server 0.us.pool.ntp.org iburst
server 1.ca.pool.ntp.org iburst
server 2.debian.pool.ntp.org iburst
server 3.debian.pool.ntp.org iburst
/etc/init.d/ntp restart
ntpq -p
The interactive way
dpkg-reconfigure tzdata
The manual way