Skip to main content

Track your time in a UDA in taskwarrior

Project description

Install using pip:

pip install taskwarrior-time-tracking-hook

And add it to your Taskwarrior hooks:

mkdir -p ~/.task/hooks
ln -s `which taskwarrior_time_tracking_hook` ~/.task/hooks/on-modify.timetracking

Use task <TASK ID> start and task <TASK ID> stop to record when you have started and stopped working on tasks.

Tracked time is stored in a task duration attribute named totalactivetime holding the total number of seconds that the task was active.

By default, this plugin allows you to have one task active at a time. You can change this by setting max_active_tasks in taskrc to a value greater than 1.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

taskwarrior-time-tracking-hook-0.1.4.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file taskwarrior-time-tracking-hook-0.1.4.tar.gz.

File metadata

File hashes

Hashes for taskwarrior-time-tracking-hook-0.1.4.tar.gz
Algorithm Hash digest
SHA256 37e6f429eda096a2d5f83ec3bdc1bcc74aa1e091a2f223f4a382da7ffeaf0d28
MD5 d71f0f61aef14ece3c983f8fcb53abe5
BLAKE2b-256 92a8f9b03a00f02baca2c16bd483d3d0cfc5250fa4b97efece09e9ecc1d25b8c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page