Skip to content

Instantly share code, notes, and snippets.

@hengkiardo
Created April 29, 2014 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hengkiardo/11397823 to your computer and use it in GitHub Desktop.
Save hengkiardo/11397823 to your computer and use it in GitHub Desktop.
changing timezone to Ubuntu
# Show current time
$ date
# current timezone
$ more /etc/timezone
# change timezone
$ echo "Asia/Jakata" > /etc/timezone
$ dpkg-reconfigure -f noninteractive tzdata
# restart cron jobs
$ service cron restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment