Simple Time Tracker
Find a file
2022-02-11 18:15:32 +01:00
arg.h Simple Time Tracker 2019-10-02 19:10:54 +02:00
config.mk Simple Time Tracker 2019-10-02 19:10:54 +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 typo build 2019-10-02 19:35:19 +02:00
stt.1 Simple Time Tracker 2019-10-02 19:10:54 +02:00
stt.c check chdir(2) & freopen(3) errors 2022-02-11 18:15:32 +01: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]    # 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

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.