Files
avocadi-bot/src/actions/medication/medication.task.ts
mo 6608bd6ee7
All checks were successful
release-tag / release-image (push) Successful in 38s
small update with changes i did in the last 6 months
2025-12-18 21:39:13 +01:00

15 lines
411 B
TypeScript

import { CronJob } from "cron";
import { MedicationService } from "actions/medication/medication.service";
const medicationService = new MedicationService();
/*new CronJob(
"0 0 19 * * *", // cronTime
async () => {
console.log("askMedication()");
await medicationService.askMedication();
}, // onTick
null, // onComplete
true, // start
"Europe/Berlin", // timeZone
);*/