mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-30 08:50:55 +08:00
log01: compress job: try escaping the %s for cron
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -1 +1 @@
|
||||
0 06 * * * root /usr/bin/find /var/log/hosts -type f -name "*.log" -print | grep -v "$(date +'/%Y/%m/%d/')" | xargs -n1 xz -1 > /dev/null
|
||||
0 06 * * * root /usr/bin/find /var/log/hosts -type f -name "*.log" -print | grep -v "$(date +'/\%Y/\%m/\%d/')" | xargs -r -n1 xz -1 > /dev/null
|
||||
|
||||
Reference in New Issue
Block a user