When the last reported values are identical to the current values, do not append the same information (just with a new timestamp) to the report. Instead, just print the last report line. With this, the report action can be scheduled periodically (e.g. via cron) without artificially inflating the report file.
36 KiB
Executable File
36 KiB
Executable File