The Best OS X Time Tracking App

This is instruction how to make simple time tracking application for terminal on OS X.

Step 1

Create new folder for storing records:

mkdir ~/worklogs
cd ~/worklogs

Step 2

Create new file

touch addlog.sh

and add following content:

#!/bin/sh
echo "[`date`] $1" >> ~/worklogs/`date "+%Y-%m-%d%n"`
echo "Added in `date "+%Y-%m-%d%n"`"

Step 3

Make link to the script to bin folder with

ln -s ~/worklogs/addlog.sh /usr/local/bin/addlog

Add the executing permissions

chmod u+x addlog.sh

Use it

Add a note:

addlog "I just wrote the best time tracking application"

Read notes

cat ~/worklogs/2015-07-20

or any other date.

Plugins

WorkingOn

Thanks Felix

Goto https://www.workingon.co/tools#webhook-api and copy the token.

Open ~/worklogs/addlog.sh and add

curl -X POST --data-urlencode "task=$*" https://api.workingon.co/hooks/incoming?token= >/dev/null 2>&1 echo "Task sent to workingon.co"

This is a result of being frustrated by our management trying to find perfect tool for tracking time, and logging who is working on what. Since we (developers) have always open our terminal this was a perfect solution however it all started as a joke.

Author

I plan to write more articles about common laravel components. If you are interested let’s stay in touch.
comments powered by Disqus