allow command-line option to set up job

This commit is contained in:
Leo Butler 2020-10-23 13:26:02 -05:00
parent e5270ae588
commit c844f0303c
1 changed files with 6 additions and 1 deletions

View File

@ -12,7 +12,12 @@ error_log=${error_log:-"user-job-$(date +'%Y-%m-%d-%H%M').err"}
outpt_log=${error_log/err/log}
debug=${debug:-"eval ionice -c 3 "}
ffmpeg_myth_scm=${ffmpeg_myth_scm:-"/usr/local/bin/ffmpeg-myth.scm"}
job=${job:-"ffmpeg-myth-do-pending-jobs 4"}
if test -z "$*"; then
job=${job:-"ffmpeg-myth-do-pending-jobs 4"}
else
job="$*"
fi
cmd="$ffmpeg_myth_scm $job"