Skip to content

Instantly share code, notes, and snippets.

@pvilas
Created April 28, 2022 12:23
Show Gist options
  • Save pvilas/ab14c9d6415f6cfaefeff291307df1f4 to your computer and use it in GitHub Desktop.
Save pvilas/ab14c9d6415f6cfaefeff291307df1f4 to your computer and use it in GitHub Desktop.
Configurar el relotje de Linux

timedatectl

Torna estat del relotje, inclou la zona horària. Si no està bé, els cron s'executaran a una hora incorrecta si no ho tenim en compta. Per a setejar la zona correcta, feim

timedatectl set-timezone Europe/Madrid

Comprovar que el NTP estigui active.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment