Adjust coffee draw schedule

This commit is contained in:
Tim
2025-10-28 18:57:53 +08:00
parent 87dcebf052
commit 46f6ccb3a8
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ name: Coffee Bot
on:
schedule:
- cron: "0 1 * * *"
- cron: "0 1 * * 1-5"
workflow_dispatch:
jobs:

View File

@@ -22,7 +22,7 @@ class CoffeeBot extends BotFather {
const now = new Date(Date.now() + 8 * 60 * 60 * 1000);
const weekday = WEEKDAY_NAMES[now.getDay()];
const drawTime = new Date(now);
drawTime.setHours(23, 0, 0, 0);
drawTime.setHours(15, 0, 0, 0);
return `
请立即在 https://www.open-isle.com 使用 create_post 发表一篇帖子,遵循以下要求: