Forums » Tutorial and setups »
Schedule a transcoding job
Added by Kyp Durron almost 8 years ago
Hi,
With Mythtv i was able tu schedule a transcoding job to the next night.
It is possible to do that with Tvheadend ? if yes, do you have a exemple ?
I don’t want to load my Chromebox during the day with transcoding.
Thank and sorry for my poor English.
Replies (1)
RE: Schedule a transcoding job - Added by Joe User almost 8 years ago
I don't do post recording transcoding, but there are examples posted if you search.
As far as when, create a script for the "Post-processor command" in your recording profile with a starting line with something like:
sleep $(($(date -d 23:59:59 +%s) - $(date +%s) + 1))
which will wait until midnight before continuing.
If you want to start earlier, adjust the first time ("23:59:59") to the time you want to start.
If you want to start after midnight, increase the "+1" at the end to the number of seconds after midnight you want it to start.