restructure
move to bun workspaces bump zod begin adding fluxer
This commit is contained in:
16
core/src/actions/waterMe/waterMe.task.ts
Normal file
16
core/src/actions/waterMe/waterMe.task.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { CronJob } from "cron";
|
||||
import { WaterMeService } from "actions/waterMe/waterMe.service";
|
||||
|
||||
const waterMeService = new WaterMeService();
|
||||
/*
|
||||
new CronJob(
|
||||
"0 0 20 * * *", // cronTime
|
||||
async () => {
|
||||
console.log("isThirsty()");
|
||||
await waterMeService.isThirsty();
|
||||
}, // onTick
|
||||
null, // onComplete
|
||||
true, // start
|
||||
"Europe/Berlin", // timeZone
|
||||
);*/
|
||||
// job.start() is optional here because of the fourth parameter set to true.
|
||||
Reference in New Issue
Block a user