mirror of
https://github.com/perk11/runwhenidle.git
synced 2026-01-07 21:03:55 -05:00
Update README.md
This commit is contained in:
committed by
GitHub
parent
7a32df8f53
commit
76bb5b9ac1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user