zh / cronhooks
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
README | ||
| |
app.yaml | ||
| |
cron.yaml | ||
| |
main.py | ||
| |
static/ | ||
| |
templates/ |
README
CronHooks
==========
CronHooks is UNIX cron-like service, calling remote webhooks every x (x=1,5,10,30,60)
minutes.
Usage
-------
Only the site admins can have 1 minute cronjobs.
When some webhook is called via POST, it receiving the following parameters
(x-www-form-urlencoded):
- hook.name - when added, every webhook receiving an uniq ID.
it can be used for authentication.
- hook.interval - to which cronjob the webhook belongs (1,5,10,30,60)
- hook.time - time, when the webhook is called - format: %Y-%m-%dT%H:%M:%SZ

