Change Server Time - n05urpr1532-MHA-Team/PTS-Team GitHub Wiki

Changing Server Time Zone

Changing your server time zone prior to starting anything is vital.

Ideally, you'll set this to be YOUR time zone (or where the majority of your users will be), not necessarily where the server is located. This is important if you want your cron jobs to run at midnight your time vs midnight server time.

In order to configure the server time zone, follow these steps:

  1. Run this command from the console

sudo dpkg-reconfigure tzdata

  1. Choose your time zone from the menu provided. For the United States, you can scroll down to US, and then pick your specific time zone (Central, Eastern, etc...) instead of 'Americas'

  1. It is highly recommended you reboot your server after changing the Time Zone (cron jobs may not run at the right time until you do this)