Best commandline time tracking application? [close

2020-05-13 13:49发布

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.

9条回答
不美不萌又怎样
2楼-- · 2020-05-13 14:14

Depends on the information you want to time track. In one company we had just to track our total working times a day (tax/social insurance purpose). The easieast solution was: last. More granular you could just do something like

echo -e -n `date`\tProjectName\tTask\tComment >> MyTimeTable.txt
...whatever...
echo -e \t`date` >> MyTimeTable.txt

and procsessing with the usual suspects (grep, awk, ...).

When you need even more functionality, I dont know anyone which works without a gui.

查看更多
冷血范
3楼-- · 2020-05-13 14:21

If you use todo.txt-cli, you should consider using punch time tracking, written in Python.

查看更多
可以哭但决不认输i
4楼-- · 2020-05-13 14:23

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.

查看更多
登录 后发表回答