added "newYear"

This commit is contained in:
moriese
2025-01-01 18:53:33 +01:00
parent e7cd840c48
commit b46dc8d3ae
5 changed files with 53 additions and 9 deletions

View File

@@ -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.