diff options
author | Michał M. Sapka <michal@sapka.me> | 2023-07-30 19:33:00 +0200 |
---|---|---|
committer | Michał M. Sapka <michal@sapka.me> | 2023-07-30 19:33:00 +0200 |
commit | 597b4ece6f708840cd6a21707e674cee8ef7a5ef (patch) | |
tree | 2d0e56cd4d555e6b9471547ff8f4bf2e8dd637e9 | |
parent | ec63889fa1e5ed4c70abd58193005a75ad49d4d9 (diff) |
fix: cron snippet
-rw-r--r-- | content/2023/moved-to-openbsd.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/content/2023/moved-to-openbsd.md b/content/2023/moved-to-openbsd.md index dff5b9c..1da7bfd 100644 --- a/content/2023/moved-to-openbsd.md +++ b/content/2023/moved-to-openbsd.md @@ -241,10 +241,10 @@ Besides adding headers, we configure TLS here, disabling weak ciphers and old TL Lastly, we can automate refreshing the certificate via cron(8): {{<highlight shell>}} -0-59 0-23 * * 1 acme-client michal.sapka.me && rcctl reload relayd +0~59 0~23 * * 1 acme-client michal.sapka.me && rcctl reload relayd {{</highlight>}} -It looks almost like a normal cron. The "0-59" and "0-29" parts are unique to OpenBSD: Cron(8) will evenly split all tasks between specified time boxes so that no two jobs run simultaneously. +It looks almost like a normal cron. The "0~59" and "0~29" parts are unique to OpenBSD: Cron(8) will evenly split all tasks between specified time boxes so that no two jobs run simultaneously. We now have created a fully working web server without any 3rd party packages. All OpenBSD provided, all secure, all simple, all cool as ice. @@ -304,4 +304,5 @@ What are my next steps? It looks like OpenBSD much better supports the hardware ## Updates 2023-07-28: remove wrong information abot PF. +2023-07-30: fix invalid cron format |