Hacker News new | ask | show | jobs
by mikeevans 4908 days ago
I'd be interested in seeing the one(s) that keep track of application usage!
1 comments

I've dumped the cron job i use for data collection here https://gist.github.com/4477372

My rough approach to post processing this data was to group by 6 minute intervals, and to drop any records where the computer was inactive for more than 120 seconds.

I've tweaked it a bit here https://gist.github.com/4478297

- Logs active website from Chrome

- Stores time including local timezone (interesting to see what timezones I'm in)

- File name includes hostname

Many thanks for the script :)