make geoip sync cron job go in by copy not cron module, for now
This commit is contained in:
parent
e3cf83c6ad
commit
f0d7f6f296
1 changed files with 2 additions and 1 deletions
|
@ -10,5 +10,6 @@
|
|||
with_fileglob: $bigfiles/geoip/*.dat
|
||||
|
||||
- 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"
|
||||
copy: src=$files/geoip/geoip_sync dest=/etc/cron.d/geoip_sync mode=0644
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue