From 264bba6c4e5267914e7cd42bcfd4d72613c10e2d Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Wed, 5 Jun 2013 22:00:41 +0000 Subject: [PATCH] define the cron job properly --- tasks/geoip.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/geoip.yml b/tasks/geoip.yml index 5b20f678b7..98df5c387d 100644 --- a/tasks/geoip.yml +++ b/tasks/geoip.yml @@ -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" +