From 7287a6a95703b23acc0c4f6eb3beb9ec2295e33f Mon Sep 17 00:00:00 2001 From: sct Date: Wed, 11 Nov 2020 09:28:38 +0000 Subject: [PATCH] fix(api): fix scheduling for plex full sync (maybe) --- server/job/schedule.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/job/schedule.ts b/server/job/schedule.ts index 8dce703b4..43ef1113e 100644 --- a/server/job/schedule.ts +++ b/server/job/schedule.ts @@ -23,7 +23,7 @@ export const startJobs = (): void => { // Run full plex sync every 6 hours scheduledJobs.push({ name: 'Plex Full Library Sync', - job: schedule.scheduleJob('* * */6 * * *', () => { + job: schedule.scheduleJob('0 0 */6 * * *', () => { logger.info('Starting scheduled job: Plex Full Sync', { label: 'Jobs' }); jobPlexFullSync.run(); }),