mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
fix(api): fix scheduling for plex full sync (maybe)
This commit is contained in:
@@ -23,7 +23,7 @@ export const startJobs = (): void => {
|
|||||||
// Run full plex sync every 6 hours
|
// Run full plex sync every 6 hours
|
||||||
scheduledJobs.push({
|
scheduledJobs.push({
|
||||||
name: 'Plex Full Library Sync',
|
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' });
|
logger.info('Starting scheduled job: Plex Full Sync', { label: 'Jobs' });
|
||||||
jobPlexFullSync.run();
|
jobPlexFullSync.run();
|
||||||
}),
|
}),
|
||||||
|
Reference in New Issue
Block a user