Update README.md

This commit is contained in:
Konstantin Pereiaslov
2024-02-12 21:25:47 +03:00
committed by GitHub
parent 7a32df8f53
commit 76bb5b9ac1

View File

@@ -12,7 +12,7 @@ The simplest way to start using runwhenidle is just by putting it in front of th
## Example 2:
runwhenidle --start-monitor-after=1000 --timeout=30 --quiet ffmpeg -i file.mp4 file.mkv
runwhenidle --start-monitor-after=10000 --timeout=30 --quiet ffmpeg -i file.mp4 file.mkv
In this example `ffmpeg` will run for 10 seconds uninterrupted. After 10 seconds pass,
runwhenidle will start monitoring user activity and pause ffmpeg if user has been active within last 30 seconds.