habitscheduler

command module
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2016 License: Apache-2.0 Imports: 15 Imported by: 0

README

Luzifer / habitscheduler

API Documentation

Currently I'm using HabitRPG for my task management. They are able to manage daily repeating tasks but not tasks recurring using a cron-like scheme or tasks recurring every 6 weeks after their last completion. To handle those tasks this project has been created.

The habitscheduler is a web application providing an API to schedule tasks with cron-like scheme or recurrance expressed in hours after last completion.

Usage (Docker)

# docker pull luzifer/habitscheduler
# docker run -ti luzifer/habitscheduler --help
Usage of /go/bin/habitscheduler:
  -cron-create="0 * * * * *": Cron entry for creating new tasks
  -cron-persist="0 * * * * *": Cron entry for saving data to Redis
  -cron-update="10 */5 * * * *": Cron entry for fetchin task updates from HabitRPG
  -habit-token="": API-Token for that HabitRPG user
  -habit-user="": User-ID from API page in HabitRPG
  -listen=":3000": Address incl. port to have the API listen on
  -redis-key="habitrpg-tasks": Key to store the data in
  -redis-url="": Connectionstring to redis server
# docker run -ti luzifer/habitscheduler --redis-url "tcp://auth:...@myhost:6379/0" [...]

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL