diff --git a/templates/docs/monitoring_cron_jobs.html b/templates/docs/monitoring_cron_jobs.html index 72e5bbd7..9672de60 100644 --- a/templates/docs/monitoring_cron_jobs.html +++ b/templates/docs/monitoring_cron_jobs.html @@ -79,6 +79,9 @@ Transient error is a timeout or an HTTP 5xx response code.
If your cron job consistently pings SITE_NAME an hour early or an hour late, +the likely cause is a timezone mismatch: your machine may be using a different timezone +than what is configured on SITE_NAME.
On modern GNU/Linux systems, you can look up the time zone using the
timedatectl status
command and looking for "Time zone" in its output:
$ timedatectl status
@@ -90,4 +93,17 @@ Transient error is a timeout or an HTTP 5xx response code.
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
+
journalctl
On a systemd-based system, you can use the journalctl
utility to see system logs,
+including logs from the cron daemon.
To see live logs:
+journalctl -f
+
To see logs from e.g. the last hour, and only from the cron daemon:
+journalctl --since "1 hour ago" -t CRON