Thomas Klausner > App-TimeTracker > App::TimeTracker::Command::Overtime

Download:
App-TimeTracker-2.020.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  6
Open  3
View/Report Bugs
Source  

NAME ^

App::TimeTracker::Command::Overtime - Tells you if you have already worked enough

VERSION ^

version 2.020

DESCRIPTION ^

This plugin allows you to define the time you plan to work on your projects, and compare the time you actually worked with those targets.

CONFIGURATION ^

plugins

Add Overtime to the list of plugins.

other setup

You have to add a file called target.json to the directories containing the monthly tracking files (eg ~/.TimeTracker/2011/10/target.json). This files has to contain a JSON hash consisting of the project names as keys and the planned time (in hours) as values:

  {
    "some_project":"20",
    "other_project":"35"
  }

Currently, Overtime only supports per-month targets.

NEW COMMANDS ^

overtime

  ~/work/some_project$ tracker overtime --this month
  Project        | Worked   | Target | Status
  ---------------+----------+--------+------------------------------
  some_project   | 21:12:12 | 20     | You missed your target by 01:12:12
  other_project  | 33:39:26 | 35     | Keep working 01:20:34 missing

Options

Same as report, even though currently only --this month will work.

CHANGES TO OTHER COMMANDS ^

none.

AUTHOR ^

Thomas Klausner <domm@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2011 by Thomas Klausner.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: