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

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} outpt_log=${error_log/err/log}
debug=${debug:-"eval ionice -c 3 "} debug=${debug:-"eval ionice -c 3 "}
ffmpeg_myth_scm=${ffmpeg_myth_scm:-"/usr/local/bin/ffmpeg-myth.scm"} ffmpeg_myth_scm=${ffmpeg_myth_scm:-"/usr/local/bin/ffmpeg-myth.scm"}
if test -z "$*"; then
job=${job:-"ffmpeg-myth-do-pending-jobs 4"} job=${job:-"ffmpeg-myth-do-pending-jobs 4"}
else
job="$*"
fi
cmd="$ffmpeg_myth_scm $job" cmd="$ffmpeg_myth_scm $job"