diff options
author | Konstantin Pereiaslov <perk11@perk11.info> | 2024-02-12 21:25:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 21:25:47 +0300 |
commit | 76bb5b9ac1adff74e5c718b2ef4df843d4f90b63 (patch) | |
tree | 0fa6413ace1b93e83436c28f52cd5ac17ca1063f | |
parent | 7a32df8f53a1969e14655f60e00467f3d8b99935 (diff) |
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |