Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
home_server:home_server_setup:other_services:logrotate [2022-09-05 Mon wk36 15:52] – baumkp | home_server:home_server_setup:other_services:logrotate [2023-12-26 Tue wk52 11:30] (current) – [Links] baumkp | ||
---|---|---|---|
Line 8: | Line 8: | ||
edit the sudo crontab '' | edit the sudo crontab '' | ||
+ | < | ||
Example of job definition: | Example of job definition: | ||
# .---------------- minute (0 - 59) | # .---------------- minute (0 - 59) | ||
Line 18: | Line 18: | ||
# * * * * * | # * * * * * | ||
# 0 0 1 * * / | # 0 0 1 * * / | ||
+ | </ | ||
where ''/ | where ''/ | ||
Line 33: | Line 34: | ||
</ | </ | ||
Remember to make executable ('' | Remember to make executable ('' | ||
+ | |||
+ | ====logrotate==== | ||
+ | -Install logrotate | ||
+ | - debian: '' | ||
+ | - Arch: '' | ||
+ | *The main logrotate configuration file is here: ''/ | ||
+ | * | ||
+ | |||
+ | ====Links==== | ||
+ | [[https:// | ||
- | <- home_server: | + | <- home_server: |