diff options
author | Wolfgang Hommel <wolf@code-wizards.com> | 2012-01-11 22:23:09 +0100 |
---|---|---|
committer | Wolfgang Hommel <wolf@code-wizards.com> | 2012-01-11 22:23:09 +0100 |
commit | ec89c4401185e43b4c0b59791a40ef97239470a3 (patch) | |
tree | 7500e1d45782f2e292a5138d078a21a6f24ffb17 /NEWS | |
parent | 837e2c7e62ec13a946946d652e63a03732e58a8b (diff) | |
download | faketime-ng-ec89c4401185e43b4c0b59791a40ef97239470a3.tar.gz |
Added feature to exec external command after x sec
This feature makes libfaketime execute an arbitrary system
command, such as a shell script, after a program has been
running for X seconds or has made Y time-related function
calls.
It is controlled by three environment variables.
FAKETIME_SPAWN_TARGET is the full path + file name +
command line arguments to the user-specified system
command.
FAKETIME_SPAWN_SECONDS is the number of seconds (after
program start / program's first time function call) after
which FAKETIME_SPAWN_TARGET will be executed.
FAKETIME_SPAWN_NUMCALLS can be used as an alternative
to ..._SECONDS.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -6,6 +6,10 @@ Since 0.8.2: it will be sent two years into the future. Those limiting start and stop times can be specified in seconds or as the number of any time-related function calls within the program. + - Added a feature to spawn an external process after x seconds + or y time-related system calls. This can, for example, be used + to execute an arbitrary shell script x seconds after a program + has been started. Since 0.8.1: - Added a MacOS port. |