Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatically tracking development time [closed]

I'm working on a personal project and I'd love to be able to say at the end:"I've spend X hours on this project". Now one way to solve this, is to use a manual time tracker (worked from: to:). I've ran into problems with this, because I only manage to use it consistently for the first week or two. So I'd like to track development time automatically.

One idea I had was to insert a short script into the build process that that would insert a time stamp into a log file every time a build process is called. Later, I could analyze the intervals between each build and hopefully calculate a somewhat accurate picture of what's going on.

Does anyone else have an idea of how such a time tracking tool could be implemented?

Quick follow up based on the answers already provided:

  1. Stop/start trackers aren't bad, but require a lot of discipline, something that I perhaps should be working on. But they dont work for me.
  2. Specific app-tracking programs are great, but I'm current on Mac OS X.
like image 211
EightyEight Avatar asked Jan 28 '09 19:01

EightyEight


People also ask

What is automatic time tracking?

What does an automated time tracker do? Automated time tracker in Clockify lets you monitor and track time you spend in certain programs and apps, which will give you a detailed review of your activity at the end of each day.


2 Answers

My opinion is that you would greatly benefit yourself in keeping a light-weight development journal. Notes, sketches, times, dates, etc, designs. It's not an answer to your question, but it is a discipline that few developers have and one that they desperately need.

Life is busy and people must learn to track / budget their time and discipline themselves to take on good behaviors and habits.

I encourage you to fight and win this battle. Don't compromise something so easy to automation when there are greater gains if you improve your skills. You might also want to check out LifeHacker for some ideas.

A bit of a non-answer, but I hope you find it helpful.

like image 69
Sam Avatar answered Sep 30 '22 11:09

Sam


If you use source control you can use svn (or any other) hooks on commit and checkout that log timestamps to a db, etc when you check your project out and when you check it back in.

The trick to making this work - and it is easiest on single developer projects - is to MAKE SURE you check your work in when you are done working for a period of time, and that you check it out immediately prior to doing actual work.

This might not be feasible for your project. Build process checking etc suffers from the same issues - namely that you might work for 3 hours and then build 8 hours after that.

like image 35
Abba Bryant Avatar answered Sep 30 '22 09:09

Abba Bryant