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:
|
||||
name: sync-mirrors
|
||||
hour: "0,6,12,18"
|
||||
minute: 0
|
||||
minute: "0"
|
||||
job: /usr/local/bin/sync-mirrors
|
||||
user: mirror
|
||||
|
||||
- name: create log rotate cron job for sync-mirrors
|
||||
cron:
|
||||
name: sync-mirrors-logs
|
||||
hour: 5
|
||||
minute: 10
|
||||
hour: "5"
|
||||
minute: "10"
|
||||
job: "find /var/log/sync-mirrors/ -xdev -type f \
|
||||
-mtime +30 -name '*.log' -execdir rm {} \\+"
|
||||
user: mirror
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
- name: create sync cron job
|
||||
cron:
|
||||
name: sync-thinlinc-repo
|
||||
hour: 4
|
||||
minute: 5
|
||||
hour: "4"
|
||||
minute: "5"
|
||||
job: /usr/local/bin/sync-thinlinc-repo
|
||||
user: mirror
|
||||
|
|
Loading…
Add table
Reference in a new issue