allow command-line option to set up job
This commit is contained in:
parent
e5270ae588
commit
c844f0303c
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user