Simple Time Tracker
Find a file
2022-05-19 19:35:05 +02:00
arg.h Simple Time Tracker 2019-10-02 19:10:54 +02:00
config.mk Fix times sum rounding errors 2022-05-19 19:31:07 +02:00
LICENSE Simple Time Tracker 2019-10-02 19:10:54 +02:00
Makefile Simple Time Tracker 2019-10-02 19:10:54 +02:00
README.md Add day filter param to day report 2022-05-02 20:38:49 +02:00
stt.1 Add day filter param to day report 2022-05-02 20:38:49 +02:00
stt.c Minor refactoring 2022-05-19 19:35:05 +02:00
TODO.md fix todo typos 2019-10-02 19:31:08 +02:00

stt

Simple Time Tracker

Build & Install

$ make clean stt
# make install

Usage

$ stt -a task       # start task
$ stt -s            # stop task
$ stt [-l [Y-m-d]]  # print report
task: task
started at: Wed Oct  2 19:04:04 2019
ended at: Wed Oct  2 19:05:04 2019
duration(hours): 0.02

task: readme@stt
started at: Wed Oct  2 19:05:04 2019
ended at: Wed Oct  2 19:09:28 2019
duration(hours): 0.07

task: publish@stt
started at: Wed Oct  2 19:09:28 2019
still running
duration(hours): 0.11

total: 0.20

Files

If current working directory contains a .ttimes file it will be used otherwise it will create or use ~/.ttimes.

File format looks like:

<start-unix-timestamp>;<end-unix-timestamp>;<task>

Zero value end timestamp means task is still running.