I am required to maintain a log of the hours I spend engaged on my Mac, for tax causes.
It does not should be fully correct – so it is effective to imagine that I am working every time there’s person enter, which instances out after some interval of inactivity. Mainly like how a display saver works.
Is there a (free) MacOS app or software I can use to log person enter to a file this fashion? All I want is one thing like:
2025/04/28 08:53:17 begin
2025/04/28 12:03:20 timeout
2025/04/28 12:46:04 begin
2025/04/28 14:18:20 timeout
2025/04/28 14:23:10 begin
2025/04/28 17:20:55 timeout
Or, if there’s a straightforward option to question the present state (exercise or not) from the OS, I can write e.g. a bash script which runs each minute or so and does the logging itself.
Thanks!