• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

timedatectl

Timedatectl

June 24, 2020

Here’s another way of setting your server’s timezone. See all the options under North America.

timedatectl list-timezones | grep -i America

timedatectl list-timezones | grep -i America

Set timezone.

timedatectl set-timezone America/New_York

timedatectl set-timezone America/New_York

To check.

date

date

Restart cron if needed.

systemctl restart cron.service

systemctl restart cron.service

Filed Under: Linux Tagged With: set, timedatectl, timezone

  • Home
  • About
  • Archives

Copyright © 2023