cf3de710f4a5c8342748e33200aaaf2bbc99bcc4
howto/Bird2.md
... | ... | @@ -331,6 +331,13 @@ You can add cron entries to periodically update the tables: |
331 | 331 | */15 * * * * curl -sfSLR {-o,-z}/etc/bird/roa_dn42_v6.conf https://dn42.burble.com/roa/dn42_roa_bird2_6.conf && birdc configure > /dev/null |
332 | 332 | ``` |
333 | 333 | |
334 | +Note that this is for the user crontab (`crontab -e`). For global crontabs (`/etc/crontab`, `/etc/cron.d/`, ...), you need to add an user: |
|
335 | + |
|
336 | +```conf |
|
337 | +*/15 * * * * bird curl -sfSLR {-o,-z}/etc/bird/roa_dn42.conf https://dn42.burble.com/roa/dn42_roa_bird2_4.conf && birdc configure > /dev/null |
|
338 | +*/15 * * * * bird curl -sfSLR {-o,-z}/etc/bird/roa_dn42_v6.conf https://dn42.burble.com/roa/dn42_roa_bird2_6.conf && birdc configure > /dev/null |
|
339 | +``` |
|
340 | + |
|
334 | 341 | Or use a systemd timer: (check the commands before copy-pasting) |
335 | 342 | |
336 | 343 | ```conf |