diff --git a/daemon/tasks/check_jobs.py b/daemon/tasks/check_jobs.py index e779bbff..758ab892 100644 --- a/daemon/tasks/check_jobs.py +++ b/daemon/tasks/check_jobs.py @@ -74,6 +74,9 @@ def __create_job_service(job): + ' {}'.format(job.secure_filename if job.service == 'file-setup' else '') + + ' {}'.format('--compress' + if job.service == 'ocr' + else '') + ' --log-dir /files' + ' --zip [{}]_{}'.format(job.service, job.secure_filename)