added "newYear"
This commit is contained in:
@@ -4,7 +4,7 @@ import { WaterMeService } from "actions/waterMe/waterMe.service";
|
||||
const waterMeService = new WaterMeService();
|
||||
|
||||
new CronJob(
|
||||
"0 * * * * *", // cronTime
|
||||
"0 0 20 * * *", // cronTime
|
||||
async () => {
|
||||
console.log("isThirsty()");
|
||||
await waterMeService.isThirsty();
|
||||
@@ -13,4 +13,4 @@ new CronJob(
|
||||
true, // start
|
||||
"Europe/Berlin", // timeZone
|
||||
);
|
||||
// job.start() is optional here because of the fourth parameter set to true.
|
||||
// job.start() is optional here because of the fourth parameter set to true.
|
||||
Reference in New Issue
Block a user