If you get a warning saying, “The system is configured to read the RTC time in the local time zone.”, run the following command to use RTC in UTC: timedatectl In this example the timezone is set to UTC: Local time: Sat 21:30:22 UTC It is available on all modern systemd-based Linux systems: timedatectl Timedatectl is a command-line utility that allows you to view and change the system’s time and date. This article describes how to set or change the timezone on CentOS 8 systems. On CentOS, the system’s timezone is set during the install, but it can be easily changed at a later time. For example, the cron daemon uses the system’s timezone for executing cron jobs, and the timestamps in the log files are based on the same system’s timezone. Using the correct timezone is essential for many systems related tasks and processes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |