Reverse Timesheeting

  • Post by Mike Dixson
  • Jan 10, 2012
post-thumb

I’m lazy and forgetful, not in a bad way, but I don’t like to do more than I have to if I can simplify something and streamline it, and I have a bad memory for the more mundane things.

So when I was asked to keep a work log I cited some problems. I’ve no issue with keeping a work log or time sheeting but if I try ad start a timer at the start of a task, or make note of the time, when I remember I’ve already been doing some other task too and don’t know how long for.
And if I keep a sheet next to me or a text file to log what I’m working in I’ll forget to fill it out after a while so the data becomes useless.

So I figured there must be a way to passively capture that data, like maybe I could record my screen all day. The problem with that is it’s going to be a nightmare to scrub thru and take up loads of hard disk space.
I thought, what if I could just capture my screen every once in a while, a snapshot of what I was doing.

A quick check and sure enough Mac OS X has a screencapture command to do just that.

Here’s the script

picdate="whatIworkedOnAt-"$(date +%Y%m%d%H%M)".png"
outputdir="/Users/Mike/Documents/WorkCapture/WorkCapture-"$(date +%Y%m%d)
if [ -d $outputdir ]; then
/usr/sbin/screencapture -xS $outputdir/$picdate
else
mkdir -p $outputdir
/usr/sbin/screencapture -xS $outputdir/$picdate
fi