Category: shell

As a DevOps consultant I have to track the time I use on a given assignment, to base my invoicing on. Sometimes I only have to sum up the hours used in a month, and invoice based on that, sometimes I have to track time on individual customer projects or even individual issues/tickets.

Last year I had an assignment where I had to track time used on individual issues, register that time in the customers timetracking system on a weekly basis, and invoice on the summed up hours for the month.

That’s when I made the switch to the Fish shell, and used Taskwarrior and Timewarrior to track my time, and sync it with the issue tracker, Jira.

Start working on the task by typing: As you work, you can get a status on the timetracking: To stop the tracking, type: And to get a report of the time spent that week in a graphlike view: And in the end of the month, you could get a list-view report, to base your invoicing on: This setup enabled me to switch between tasks, by using task start/stop and get a report at the end of the month, without leaving the terminal at all, which makes it so much easier to track time.

Related Articles