From 645a7c7bd8d9ca5aa878a2ad0417fe409b984868 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Tue, 16 Apr 2013 18:39:25 +0000 Subject: [PATCH] helps if you put the file into the right path --- library/cron | 1 + 1 file changed, 1 insertion(+) diff --git a/library/cron b/library/cron index 3bb0521f9f..2a6fbed2ae 100755 --- a/library/cron +++ b/library/cron @@ -145,6 +145,7 @@ def get_jobs_file(module, user, tmpfile, cron_file): return module.run_command(cmd) def install_jobs(module, user, tmpfile, cron_file): + cron_file = '/etc/cron.d/%s' % cron_file if cron_file: dest_tmp = "%s.%s.%s.tmp" % (cron_file,os.getpid(),time.time()) try: