From f0d7f6f29641f6101cceb81ac09b50b73fc88bb3 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Tue, 11 Jun 2013 20:29:22 +0000 Subject: [PATCH] make geoip sync cron job go in by copy not cron module, for now --- tasks/geoip.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/geoip.yml b/tasks/geoip.yml index ac7baac3d1..d37a5d5d07 100644 --- a/tasks/geoip.yml +++ b/tasks/geoip.yml @@ -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 +