mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 11:40:25 +00:00
remove server-side cron
This commit is contained in:
parent
364641740a
commit
39088570ce
1 changed files with 1 additions and 9 deletions
|
|
@ -82,11 +82,3 @@ expressApp
|
|||
expressApp.all '*', (req) ->
|
||||
throw "404: #{req.url}"
|
||||
|
||||
# Would implement cron here, using node-cron & https://github.com/codeparty/derby/issues/99#issuecomment-6596460
|
||||
# But it's not working
|
||||
# cronJob = require("cron").CronJob
|
||||
# model = store.createModel()
|
||||
# new cronJob("* * * * * *", ->
|
||||
# model.get() #TODO this returns {}, can't seem to access the data
|
||||
# , null, true, "America/Los_Angeles")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue