helps if you put the file into the right path

This commit is contained in:
Seth Vidal 2013-04-16 18:39:25 +00:00
parent e1b8f54a7f
commit 645a7c7bd8

View file

@ -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: