- The machine's clock holds a moment — seconds since 1970 in UTC — and the time zone only turns it into hours for a person.
- cron reads the schedule in the machine's zone; a
TZ=line in the schedule file changes only the job's environment. - chrony checks the clock against the servers from the
serverlines:chronyc sourcesshows the servers,chronyc trackingthe difference. - Slewing aligns the clock gently, a step does it at once: at startup by the
makestepline or on command withchronyc makestep. - The export from the start of the lesson ran at noon: cron started it at 9:00 UTC, and
TZ=Europe/Moscowwrote that time down in Moscow time.
Step 7 of 7 · summary · 2 min
Summary
Found an inaccuracy? Report an error in the lesson