This commit is contained in:
parent
f6bbe10bb9
commit
eabe37c280
@ -2,7 +2,7 @@ import { CronJob } from "cron";
|
|||||||
import { GreetingService } from "actions/greeting/greeting.service";
|
import { GreetingService } from "actions/greeting/greeting.service";
|
||||||
|
|
||||||
const greetingService = new GreetingService();
|
const greetingService = new GreetingService();
|
||||||
|
/*
|
||||||
new CronJob(
|
new CronJob(
|
||||||
"0 30 6 * * *", // cronTime
|
"0 30 6 * * *", // cronTime
|
||||||
async () => {
|
async () => {
|
||||||
@ -24,7 +24,7 @@ new CronJob(
|
|||||||
null,
|
null,
|
||||||
true,
|
true,
|
||||||
"Europe/Berlin",
|
"Europe/Berlin",
|
||||||
);
|
);*/
|
||||||
|
|
||||||
new CronJob(
|
new CronJob(
|
||||||
"0 0 0 1 1 *",
|
"0 0 0 1 1 *",
|
||||||
|
@ -2,7 +2,7 @@ import { CronJob } from "cron";
|
|||||||
import { WaterMeService } from "actions/waterMe/waterMe.service";
|
import { WaterMeService } from "actions/waterMe/waterMe.service";
|
||||||
|
|
||||||
const waterMeService = new WaterMeService();
|
const waterMeService = new WaterMeService();
|
||||||
|
/*
|
||||||
new CronJob(
|
new CronJob(
|
||||||
"0 0 20 * * *", // cronTime
|
"0 0 20 * * *", // cronTime
|
||||||
async () => {
|
async () => {
|
||||||
@ -12,5 +12,5 @@ new CronJob(
|
|||||||
null, // onComplete
|
null, // onComplete
|
||||||
true, // start
|
true, // start
|
||||||
"Europe/Berlin", // timeZone
|
"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.
|
Loading…
x
Reference in New Issue
Block a user