How to use gtg_new_task?

Asked by Boyd Kelly on 2013-12-29

I would like to add tasks from the command line, and create some recurring tasks with cron. The best I could do is:

 echo "Description @tech,work" | gtg_new_task -i "New task".

But this always brings up the gui which I don't want. Without the -i it doesn't work. And of course I would want to add a start and due date. Is it possible to do this?

Great gnome app!


Question information

English Edit question
GTG Edit question
No assignee Edit question
Solved by:
Boyd Kelly
Last query:
Last reply:
Nimit Shah (nimit-svnit) said : #1

Hi Boyd,
You can try this:
echo "Description @tech,work" | gtcli new "New task"

gtcli is the CLI for GTG. But make sure that you have GTG running in background, because otherwise it will open the GUI once.

Boyd Kelly (bkelly) said : #2

Nice! Otherwise is there a way to set the start and due date?


Nimit Shah (nimit-svnit) said : #3

Unfortunately the date problem needs to be worked on.
I will raise a bug for that.

Boyd Kelly (bkelly) said : #5

Thanks Namit! I just discovered gtg, and its awesome!

Nimit Shah (nimit-svnit) said : #6

Thank you for the kind words :)

Nimit Shah

On Sun, Dec 29, 2013 at 10:36 AM, Boyd Kelly <
<email address hidden>> wrote:

> Question #241396 on Getting Things GNOME! changed:
> Status: Answered => Solved
> Boyd Kelly confirmed that the question is solved:
> Thanks Namit! I just discovered gtg, and its awesome!
> --
> You received this question notification because you are a member of Gtg
> developers, which is an answer contact for Getting Things GNOME!.
> _______________________________________________
> Mailing list:
> Post to : <email address hidden>
> Unsubscribe :
> More help :