You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
309 B
Bash
14 lines
309 B
Bash
#!/bin/bash
|
|
chanid=$1
|
|
starttime=$2
|
|
skip_or_cutlist=${3:-"cutlist"}
|
|
logdir="/mnt/lvraid5/ffmpeg-cut-list.d"
|
|
logfile="$logdir/user-job-${chanid}-${starttime}.log"
|
|
|
|
if ! test -d $logdir; then
|
|
mkdir -p $logdir;
|
|
fi
|
|
|
|
ionice -c 3 ffmpeg-cut-list0.sh $chanid $starttime $skip_or_cutlist 2>> $logfile >> $logfile
|
|
|