Skip to content

Commit

Permalink
Update cron.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ninja03 committed Feb 25, 2024
1 parent b0b3ca8 commit e68b9a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export function startCron() {
const now = formatDTS(new Date());
for await (const eventItem of eventItems) {
const target = eventItem.value;
console.log("target", target);
const deadLine = formatDTS(target.joinDeadline);
console.log("cron now=", now, "deadline=", deadLine);
if (now == deadLine) {
Expand Down

0 comments on commit e68b9a4

Please sign in to comment.