implement scheduler

- scan for apps every 10 minutes and schedules tasks
- uses docker.exec
    - there is no way to control exec container. docker developers
      feel exec is for debugging purposes primarily
- future version will be based on docker run instead

part of #519
This commit is contained in:
Girish Ramakrishnan
2015-10-18 08:40:24 -07:00
parent 8d6dd62ef4
commit 990b7a2d20
5 changed files with 2193 additions and 3284 deletions

View File

@@ -90,6 +90,12 @@ var KNOWN_ADDONS = {
backup: NOOP,
restore: setupSendMail
},
scheduler: {
setup: NOOP,
teardown: NOOP,
backup: NOOP,
restore: NOOP
},
simpleauth: {
setup: setupSimpleAuth,
teardown: teardownSimpleAuth,