define the cron job properly
This commit is contained in:
parent
8132d6d3af
commit
264bba6c4e
1 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue