diff --git a/.gitignore b/.gitignore index 6704566..b8c6e26 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,8 @@ # Logs +app.yaml + +.gcloudignore + logs *.log npm-debug.log* diff --git a/src/index.js b/src/index.js index e3cddd9..a6263aa 100644 --- a/src/index.js +++ b/src/index.js @@ -37,7 +37,7 @@ app.listen(port, () => { }); // In debug mode send notif every minute -cron.schedule(DEBUG ? "*/5 * * * *" : "0 * * * *", () => { +cron.schedule(DEBUG ? "*/5 * * * *" : "*/15 * * * *", () => { console.log("Starting notifications"); job(); },