Skip to main content

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.

Metadata

Release files for taskwarrior-time-tracking-hook 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for taskwarrior-time-tracking-hook 0.1.4
File Size Uploaded
taskwarrior-time-tracking-hook-0.1.4.tar.gz 2.2 kB Details

Release files / taskwarrior-time-tracking-hook-0.1.4.tar.gz

Download URL taskwarrior-time-tracking-hook-0.1.4.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
37e6f429eda096a2d5f83ec3bdc1bcc74aa1e091a2f223f4a382da7ffeaf0d28
BLAKE2b-256 checksum
How to use checksums
92a8f9b03a00f02baca2c16bd483d3d0cfc5250fa4b97efece09e9ecc1d25b8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

0.1.2

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page