天気お知らせを修正

This commit is contained in:
2025-06-30 10:47:56 +09:00
parent 5bd251f6eb
commit c4d2990118
3 changed files with 101 additions and 79 deletions
+4 -2
View File
@@ -5,14 +5,16 @@ import weatherNotice from "./scripts/weatherNotice.js";
import followBack from "./scripts/followBack.js";
weatherNotice();
// 時報・フォローバック(毎時)
cron.schedule("0 * * * *", () => {
timeNotice();
followBack();
});
// 天気お知らせ(毎日7:00)
cron.schedule("0 7 * * *", () => {
// 天気お知らせ(毎日7:01)
cron.schedule("1 7 * * *", () => {
weatherNotice();
});