2 ms·
I have a command line tool that just takes a line of input, then writes the time stamped entry to a text file, one per quarter. A cron job pops up a terminal on
by physicles 2y ago
I have a command line tool that just takes a line of input, then writes the time stamped entry to a text file, one per quarter. A cron job pops up a terminal once an hour during business hours. I use that log to prepare for performance reviews to recall what I’d worked on, and I often go back to remember details about a problem I solved months or years ago. It’s fantastic, been using it for seven years.
In 2023, I wrote another script that appends a line to a csv file every 5 minutes. The line includes the focused window class, command line, title, name of the git branch that’s currently checked out, system idle time, and WiFi access point name. So I know pretty much how long I was working on everything vs other stuff like slack.
I’m finally starting to write tools to visualize and analyze this data. Is it going to change how I work? Not really, but for some reason I like seeing at a glance how I spent my time.