GTG

How to use gtg_new_task?

Asked by Boyd Kelly

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!

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
GTG Edit question
Assignee:
No assignee Edit question
Solved by:
Boyd Kelly
Solved:
Last query:
Last reply:
Revision history for this message
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.

Revision history for this message
Boyd Kelly (bkelly) said :
#2

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

Boyd

Revision history for this message
Nimit Shah (nimit-svnit) said :
#3

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

Revision history for this message
Nimit Shah (nimit-svnit) said :
#4
Revision history for this message
Boyd Kelly (bkelly) said :
#5

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

Revision history for this message
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:
> https://answers.launchpad.net/gtg/+question/241396
>
> 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: https://launchpad.net/~gtg
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~gtg
> More help : https://help.launchpad.net/ListHelp
>