helps if you put the file into the right path
This commit is contained in:
parent
e1b8f54a7f
commit
645a7c7bd8
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue