mirror: Fix warnings from cron jobs
This commit is contained in:
parent
795a00e5c4
commit
e2b18c7f36
2 changed files with 5 additions and 5 deletions
|
@ -79,15 +79,15 @@
|
||||||
cron:
|
cron:
|
||||||
name: sync-mirrors
|
name: sync-mirrors
|
||||||
hour: "0,6,12,18"
|
hour: "0,6,12,18"
|
||||||
minute: 0
|
minute: "0"
|
||||||
job: /usr/local/bin/sync-mirrors
|
job: /usr/local/bin/sync-mirrors
|
||||||
user: mirror
|
user: mirror
|
||||||
|
|
||||||
- name: create log rotate cron job for sync-mirrors
|
- name: create log rotate cron job for sync-mirrors
|
||||||
cron:
|
cron:
|
||||||
name: sync-mirrors-logs
|
name: sync-mirrors-logs
|
||||||
hour: 5
|
hour: "5"
|
||||||
minute: 10
|
minute: "10"
|
||||||
job: "find /var/log/sync-mirrors/ -xdev -type f \
|
job: "find /var/log/sync-mirrors/ -xdev -type f \
|
||||||
-mtime +30 -name '*.log' -execdir rm {} \\+"
|
-mtime +30 -name '*.log' -execdir rm {} \\+"
|
||||||
user: mirror
|
user: mirror
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
- name: create sync cron job
|
- name: create sync cron job
|
||||||
cron:
|
cron:
|
||||||
name: sync-thinlinc-repo
|
name: sync-thinlinc-repo
|
||||||
hour: 4
|
hour: "4"
|
||||||
minute: 5
|
minute: "5"
|
||||||
job: /usr/local/bin/sync-thinlinc-repo
|
job: /usr/local/bin/sync-thinlinc-repo
|
||||||
user: mirror
|
user: mirror
|
||||||
|
|
Loading…
Add table
Reference in a new issue