Features
- replacement for cron, launchd, iCal/etc tasks and GTD apps
- use launchd
- one line one filename (without path) command
- git/hg/svn support for plists and Agent sources
- customizable GUI (python+html+css for localhost)
- launchd.plist python wrapper
- debugging with syslog
Platform
- Mac OS
- Linux
Installing
from pypi.python.org
sudo pip install gtd
from github
sudo pip install git+git://github.com/cancerhermit/GTD.py.git
Usage
Config dir with source (.py, etc) files
gtd -s ~/path/to/source/dir
Print source dir:
gtd -s
$ ~/path/to/source/dir
load all agents
gtd --load
unload all agents
gtd --unload
to create gtd LaunchAgent, create plist file (or symlink) in ~/Library/LaunchAgents/ with
- ProgramArguments gtd first argument
- ProgramArguments basename.ext second argument
for example:
<key>ProgramArguments</key>
<array>
<string>gtd</string>
<string>myscript.py</string>
</array>
Use git/hg/svn for sources&plist dirs
Logging
Use StandardOutPath, StandardErrorPath keys in agent plist, for example:
<key>StandardErrorPath</key>
<string>/Users/username/git/GTD/errors.log</string>