最好的命令行时间跟踪应用程序?
我正在寻找在终端中运行并允许我跟踪时间的东西。 我希望它是开源的,但这不是必需的。
我发现的大多数时间跟踪应用程序都是基于网络或图形用户界面的,输入数据的时间比我想要的要长。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
时间陷阱。 它简单、轻量,并且使用起来有些直观。
它是用 ruby 编写的,可以在 gemcutter 或 github 上作为 gem 使用:
http://github.com/samg/timetrap
用 python 编写的类似工具称为 TimeBook,可在位桶。
TimeTrap. It's simple and lightweight, and somewhat intuitive to use.
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.
真正的基本方法是
如果您想稍后处理它,如果您使用
date +%s
或date +%F%T
会更容易。您可以将其包装为 shell 脚本:
一些您真正想要做什么的提示可能会有所帮助。
a real basic one would be
If you want to process it later, it's easier if you make that
date +%s
ordate +%F%T
.You could wrap that as a shell script:
Some hint of what you really want to do might help.
我最近发现了 TaskWarrior,它是纯粹的 CLI,但功能相当丰富。
2015 年 6 月编辑:自从我几年前写下这个答案以来,taskwarrior 已经开发成了一个很棒的项目,具有很多功能和集成。 我最喜欢的是:
更多任务战士工具 此处。
I recently discovered TaskWarrior, which is purely CLI but quite feature-rich.
EDIT June 2015: Since I wrote this answer years ago, taskwarrior has developed in an awesome project with lots of features and integrations. Among my favourite there are:
More taskwarrior tools here.
您可以使用 wtime:
You could use wtime:
Emacs 组织模式!
Emacs org-mode!
如果您使用 todo.txt-cli,则应考虑使用打卡时间跟踪,用 Python 编写。
If you use todo.txt-cli, you should consider using punch time tracking, written in Python.
App::TimeTracker - 易于扩展的基于命令行的时间跟踪器
有关作者网站的更多详细信息:http://timetracker.plix。在/
App::TimeTracker - the easily extendable command line based time tracker
Further details on the authors site: http://timetracker.plix.at/
我最近开始使用Worklog,它看起来非常简单直接。
http://ajy.co/2010/worklog-a-simple-时间跟踪程序/
I recently started using Worklog, it seems pretty simple and straight forward.
http://ajy.co/2010/worklog-a-simple-time-tracking-program/
取决于您想要时间跟踪的信息。 在一家公司,我们只需跟踪每天的总工作时间(税收/社会保险目的)。 最简单的解决方案是:
最后
。 更细粒度的是,您可以执行类似的操作并处理通常的嫌疑对象(grep,awk,...)。
当您需要更多功能时,我不知道有谁可以在没有 GUI 的情况下工作。
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 likeand procsessing with the usual suspects (grep, awk, ...).
When you need even more functionality, I dont know anyone which works without a gui.