Start

The start command activates time tracking.

The startcommand creates a new open interval with the given tag set at the given date. If there is already an open interval with a different tag set, start closes the current interval and creates a new open interval at the given date. If the tag sets match, start has no effect. On success, a short report is printed to stdout.

Syntax

timew start [<date>] [<tag>]...

Examples

Start time tracking at current time

$ timew start FOO # at 12:30:23
Tracking FOO
  Started 2018-02-13T12:30:23
  Current                  23
  Total               0:00:00

This creates an open interval with tag 'FOO' and prints a short report.

Start time tracking at a given date

$ timew start 12:30 # at 14:45:23
Tracking FOO
  Started 2018-02-13T12:30:00
  Current            14:45:23
  Total               2:15:23

This creates an open interval with tag 'FOO' at the given date.

Successive calls of start

...
$ timew start FOO # at 10:00:00
...
$ timew start BAR # at 12:30:00
Recorded FOO
  Started 2018-02-13T10:00:00
  Ended              12:30:00
  Total               2:30:00
Tracking BAR
  Started 2018-02-13T12:30:00
  Current                  00
  Total               0:00:00

This stops the tracking for 'FOO' at the current time and creates a new open interval with tag 'BAR'.

See also cancel, start, stop.