Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best commandline time tracking application? [closed]

I'm looking for something that runs in a terminal and allows me to track time. I'd like it to be open source but that isn't necessary.

Most time tracking apps I've found are either web or gui based and there for take longer to enter data then I'd like.

like image 569
Jared Avatar asked Dec 29 '08 19:12

Jared


2 Answers

TimeTrap. It's simple and lightweight, and somewhat intuitive to use.

$ t switch World Domination Plan $ t in --at "5 minutes ago" Research Volcano Islands $ t out $ t display Timesheet World Domination Plan: Day            Start      End        Duration   Notes Mar 14, 2009   19:53:30 - 20:06:15   0:12:45    Research Volcano Islands Total                                0:12:45 

It's written in ruby an available as a gem on gemcutter or on github: http://github.com/samg/timetrap

A similar tool written in python is called TimeBook and available on bitbucket.

like image 102
samg Avatar answered Sep 19 '22 13:09

samg


a real basic one would be

$ echo `date`": what I'm doing now" >> timelog.txt 

If you want to process it later, it's easier if you make that date +%s or date +%F%T.

You could wrap that as a shell script:

#!/usr/bin/bash - echo `date +%s` $* >> ~/timelog.txt 

Some hint of what you really want to do might help.

like image 35
Charlie Martin Avatar answered Sep 19 '22 13:09

Charlie Martin