LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   looking for a project time logger (https://www.linuxquestions.org/questions/linux-software-2/looking-for-a-project-time-logger-744468/)

jdkaye 08-02-2009 02:17 AM

looking for a project time logger
 
Hi all,
I'm looking for a time logger (OSS, non-web-based) to keep track of the hours spent on a project I'm working on. I know about project hamster but it's a gnome applet and I don't fancy installing a gazillion packages just for that.

I just want something simple: I click to start it and stop it and it time/date stamps those actions and at the end will produce a cumulative summary.

I've googled but wasted a lot of time trying to filter out all the apps that only run on windows. Even using the /linux after the google url doesn't help much. arrggghh.

As you see I'm running Debian squeeze and using kde 3.5 at the moment. Any suggestions would be most welcome.
Cheers,
jdk

Meson 08-02-2009 06:49 PM

I don't know of anything off hand, but python has a really nice date module that does date arithmetic. You could homebrew your own utility to do exactly what you need.

For example, you could have a little script that when run appends the current timestamp to the end of a file. Then another one which tallies the cummulative time.

Code:

date1
date2
date3
date4
date5
date6

Assuming every odd timestamp is a 'start' and every even is a 'stop', your total time would be (date6-date5) + (date4-date3) + (date2-date1)

jdkaye 08-02-2009 11:14 PM

Quote:

Originally Posted by Meson (Post 3628876)
I don't know of anything off hand, but python has a really nice date module that does date arithmetic. You could homebrew your own utility to do exactly what you need.

For example, you could have a little script that when run appends the current timestamp to the end of a file. Then another one which tallies the cummulative time.

Code:

date1
date2
date3
date4
date5
date6

Assuming every odd timestamp is a 'start' and every even is a 'stop', your total time would be (date6-date5) + (date4-date3) + (date2-date1)

Thanks Meson. Yes, I know I could code one for myself (I wouldn't use python though) I'm just trying to see if there any ones out there to avoid doing that.
cheers,
jdk

Meson 08-03-2009 12:45 AM

Google scares me. Searching "linux time logger" already has this thread as #2

jdkaye 08-03-2009 01:36 AM

Oh, you mean this thread! It shouldn't scare you. That's normal for Google. They are pretty up to date on things and they have to be. Wouldn't be much use otherwise. ;)
cheers,
jdk

jdkaye 08-03-2009 01:41 AM

OK, I found GnoTime. Yes, it's a gnome app but only requires 5 packages which I can live with.
cheers,
jdk


All times are GMT -5. The time now is 09:40 AM.