diff options
author | VG <vg@devys.org> | 2016-04-21 17:51:28 +0200 |
---|---|---|
committer | VG <vg@devys.org> | 2016-04-21 17:51:28 +0200 |
commit | 159bca83e8f9d717a5b754ae22ed7a69983c0225 (patch) | |
tree | 9ee3bb79f74c120763786f6485c9c4fa7926f9de | |
parent | 0da983c1f74c764e5cb98ddccdc15aaceb383814 (diff) | |
parent | 95573b5e90d88574e9110399df02865305b99f7c (diff) | |
download | teaqueue-159bca83e8f9d717a5b754ae22ed7a69983c0225.tar.gz teaqueue-159bca83e8f9d717a5b754ae22ed7a69983c0225.tar.bz2 teaqueue-159bca83e8f9d717a5b754ae22ed7a69983c0225.zip |
Merge conflict autocommit on 6d1dbe8495b5fafbc5f50d80268d0ca5b7b097be
-rw-r--r-- | readme.rst | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -69,6 +69,15 @@ Then run again `teaqueue`:: program to convert your videos. The important point is the script should be able to be interruptible without interrupting the underlying job. +.. code:: shell + + #!/bin/sh + flock -x /var/lock/transcode_my_file.sh.lock ffmpeg -i "$1" -arg -arg & + +The first `ffmpeg` command will go to background then, the second will wait +until the first `ffmpeg` finishes. If the `teaqueue` command is interrupted, +it can be run again without effectively interrupting the current `ffmpeg` job. + History ======= |