Skip to content

Commit

Permalink
📝 chore: スケジューリング変更
Browse files Browse the repository at this point in the history
  • Loading branch information
Suke-H committed Sep 7, 2024
1 parent 1d7b017 commit da456ea
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ const config = {
NOTION_DATABASE_ID: process.env.NOTION_DATABASE_ID,

development: {
GOAL_SETTING_CRON: '* * * * *', // 1分ごと
WEEKLY_REPORT_CRON: '* * * * *' // 1分ごと
GOAL_SETTING_CRON: '*/10 * * * *', // 10分に1回
WEEKLY_REPORT_CRON: '*/10 * * * *' // 10分に1回
},

production: {
// GOAL_SETTING_CRON: '0 9 * * 0', // 毎週日曜日の午前9時
// WEEKLY_REPORT_CRON: '0 17 * * 5' // 毎週金曜日の午後5時
GOAL_SETTING_CRON: '0 9 * * *', // 毎日午前9時
WEEKLY_REPORT_CRON: '0 17 * * *' // 毎日午後5時
// GOAL_SETTING_CRON: '*/10 * * * *', // 10分に1回
// WEEKLY_REPORT_CRON: '*/10 * * * *' // 10分に1回
// GOAL_SETTING_CRON: '0 9 * * *', // 毎日午前9時
// WEEKLY_REPORT_CRON: '0 17 * * *' // 毎日午後5時
GOAL_SETTING_CRON: '*/2 * * * *', // 2分に1回
WEEKLY_REPORT_CRON: '*/2 * * * *' // 2分に1回
},
};

Expand Down

0 comments on commit da456ea

Please sign in to comment.