Skip to content

Instantly share code, notes, and snippets.

@JensErat
Created February 22, 2015 20:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JensErat/804d050dbab9793720e3 to your computer and use it in GitHub Desktop.
Save JensErat/804d050dbab9793720e3 to your computer and use it in GitHub Desktop.
Debug output
$ ./src/task rc.debug.hooks=2 1 done
TASKDATA override: /tmp/task
foo
Completed task 1 'Foo'.
Completed 1 task.
Timer Config::load (/home/jenserat/.task/color.theme) 0.000103 sec
Timer Config::load (/home/jenserat/.taskrc) 0.000823 sec
Found hook script /tmp/task/hooks/on-launch.test
Found hook script /tmp/task/hooks/on-modify.relative-recur
Found hook script /tmp/task/hooks/on-modify.test
Hook: Calling /tmp/task/hooks/on-launch.test
Hook: input
Timer Hooks::execute (/tmp/task/hooks/on-launch.test) 0.008545 sec
Hook: output
foo
Hook: Completed with status 0
foo
Filtered 38 tasks --> 1 tasks [all tasks]
Task::modify
Hook: Calling /tmp/task/hooks/on-modify.relative-recur
Hook: input
{"description":"Foo","entry":"20150222T201458Z","modified":"20150222T201458Z","relativeRecurWait":"1min","status":"pending","uuid":"f6bbea06-1e77-482d-9112-4434bbf4d8d4"}
{"description":"Foo","end":"20150222T202526Z","entry":"20150222T201458Z","modified":"20150222T201458Z","relativeRecurWait":"1min","status":"completed","uuid":"f6bbea06-1e77-482d-9112-4434bbf4d8d4"}
Timer Hooks::execute (/tmp/task/hooks/on-modify.relative-recur) 0.054585 sec
Hook: output
{"description":"Foo","end":"20150222T202526Z","entry":"20150222T201458Z","modified":"20150222T201458Z","relativeRecurWait":"1min","status":"completed","uuid":"f6bbea06-1e77-482d-9112-4434bbf4d8d4"}
bar
Created follow-up task
Hook: Completed with status 0
bar
Created follow-up task
Hook: Calling /tmp/task/hooks/on-modify.test
Hook: input
{"description":"Foo","entry":"20150222T201458Z","modified":"20150222T201458Z","relativeRecurWait":"1min","status":"pending","uuid":"f6bbea06-1e77-482d-9112-4434bbf4d8d4"}
{"description":"Foo","end":"20150222T202526Z","entry":"20150222T201458Z","modified":"20150222T201458Z","relativeRecurWait":"1min","status":"completed","uuid":"f6bbea06-1e77-482d-9112-4434bbf4d8d4"}
Timer Hooks::execute (/tmp/task/hooks/on-modify.test) 0.008645 sec
Hook: output
{"description":"Foo","end":"20150222T202526Z","entry":"20150222T201458Z","modified":"20150222T201458Z","relativeRecurWait":"1min","status":"completed","uuid":"f6bbea06-1e77-482d-9112-4434bbf4d8d4"}
foobar
Hook: Completed with status 0
foobar
pending.data rw O T0009+000~001 L0009+000
completed.data rw - T0029+000~000 L0029+000
undo.data rw O T0000+000~000 L0004+004
backlog.data rw O T0000+000~000 L0001+001
Perf task 2.4.2 af772f4 20150222T202526Z init:2912 load:1432 gc:0 filter:283 commit:193 sort:0 render:0 hooks:72054 total:76874
TASKDATA override: /tmp/task
Configuration override rc.debug.hooks:2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment