Skip to content

Commit de22fd6

Browse files
committed
update: cron times for weekly and monthly stats jobs
1 parent 32c19f1 commit de22fd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/velog-cron/src/common/plugins/globals/cronPlugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ const cronPlugin: FastifyPluginCallback = async (fastfiy, opts, done) => {
5454
},
5555
{
5656
name: 'providing a count of new users and posts from the past 1 week',
57-
cronTime: '59 17 * * 1', // every Monday at 8:59 AM
57+
cronTime: '59 23 * * 3', // every Monday at 8:59 AM
5858
jobService: statsWeeklyJob,
5959
},
6060
{
6161
name: 'providing a count of new users and posts from the past 1 month',
62-
cronTime: '58 17 1 * *', // every 1st day of month at 8:58 AM
62+
cronTime: '58 23 1 * *', // every 1st day of month at 8:58 AM
6363
jobService: statsMonthlyJob,
6464
},
6565
// Stats end

0 commit comments

Comments
 (0)