mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-04 17:23:59 +08:00
define the cron job properly
This commit is contained in:
@@ -9,5 +9,6 @@
|
||||
copy: src=$item dest=/usr/share/GeoIP/$item
|
||||
with_fileglob: $bigfiles/hotfixes/geoip/*.dat
|
||||
|
||||
- name: setup cron job to suck down these files
|
||||
cron: cron_file=geoip_sync name=geoip_sync state=present minute=0 hour=1 day=4 user=root
|
||||
- name: geoip syncing script via cron
|
||||
cron: cron_file=geoip_sync name=geoip_sync state=present minute=0 hour=1 day=4 user=root job="/usr/local/bin/syncFiles.sh bigfiles/geoip /usr/share/GeoIP"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user