[Bug]: Podcasts Schedule CronManager disturbs itself #3245

Open
opened 2026-04-25 00:14:30 +02:00 by adam · 2 comments
Owner

Originally created by @IAmKontrast on GitHub (Feb 27, 2026).

What happened?

I have like ten podcasts in my library. All of them are nearly up to date und have the Schedule Automatic Episode Downloads Enabled with max 3 new episodes and default every hour interval.
Over the last days I miss more and more new episodes. I can download them manually but ABS do not grab it automatic.
In the logs:
2026-02-27 20:00:00.316 WARN [CronManager] Podcast cron "0 * * * *" is already executing
I set one podcast to every 15 min where I am missing the latest episode and wait. Voila. Episode downloaded.
Looks like every hour it starts with the first podcast in the list and look for new episodes while every other podcast have also the every hour settings and then the CronManager discards all other jobs because its already running once.

What did you expect to happen?

Consecutively jobs for the same time interval for all Podcasts.

Steps to reproduce the issue

Set more (or all?) Podcasts Schedule Automatic Episode Download Intervals to (default) every hour. Maybe this will also happen when all Podcasts have for example every 15 min.

Audiobookshelf version

2.32.1

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Chrome

Logs

{"timestamp":"2026-02-27 19:50:16.909","source":"Logger.js:97","message":"Set Log Level to DEBUG","levelName":"DEBUG","level":1}
{"timestamp":"2026-02-27 19:50:16.924","source":"ApiCacheManager.js:20","message":"[ApiCacheManager] Array.afterUpsert: Clearing cache","levelName":"DEBUG","level":1}
{"timestamp":"2026-02-27 20:00:00.316","source":"CronManager.js:159","message":"[CronManager] Podcast cron \"0 * * * *\" is already executing","levelName":"WARN","level":3}
{"timestamp":"2026-02-27 20:03:31.412","source":"ApiCacheManager.js:48","message":"[ApiCacheManager] count: 0 size: 0","levelName":"DEBUG","level":1}
{"timestamp":"2026-02-27 20:03:31.415","source":"ApiCacheManager.js:59","message":"[ApiCacheManager] Cache miss: {\"user\":\"Kontrast\",\"url\":\"/libraries/b2f8cfd1-e1bf-4fda-a2c2-88da816c27e6?include=filterdata\"}","levelName":"DEBUG","level":1}
{"timestamp":"2026-02-27 20:03:31.449","source":"ApiCacheManager.js:48","message":"[ApiCacheManager] count: 1 size: 1245","levelName":"DEBUG","level":1}

Additional Notes

No response

Originally created by @IAmKontrast on GitHub (Feb 27, 2026). ### What happened? I have like ten podcasts in my library. All of them are nearly up to date und have the Schedule Automatic Episode Downloads Enabled with max 3 new episodes and default every hour interval. Over the last days I miss more and more new episodes. I can download them manually but ABS do not grab it automatic. In the logs: `2026-02-27 20:00:00.316 WARN [CronManager] Podcast cron "0 * * * *" is already executing` I set one podcast to every 15 min where I am missing the latest episode and wait. Voila. Episode downloaded. Looks like every hour it starts with the first podcast in the list and look for new episodes while every other podcast have also the every hour settings and then the CronManager discards all other jobs because its already running once. ### What did you expect to happen? Consecutively jobs for the same time interval for all Podcasts. ### Steps to reproduce the issue Set more (or all?) Podcasts Schedule Automatic Episode Download Intervals to (default) every hour. Maybe this will also happen when all Podcasts have for example every 15 min. ### Audiobookshelf version 2.32.1 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? Chrome ### Logs ```shell {"timestamp":"2026-02-27 19:50:16.909","source":"Logger.js:97","message":"Set Log Level to DEBUG","levelName":"DEBUG","level":1} {"timestamp":"2026-02-27 19:50:16.924","source":"ApiCacheManager.js:20","message":"[ApiCacheManager] Array.afterUpsert: Clearing cache","levelName":"DEBUG","level":1} {"timestamp":"2026-02-27 20:00:00.316","source":"CronManager.js:159","message":"[CronManager] Podcast cron \"0 * * * *\" is already executing","levelName":"WARN","level":3} {"timestamp":"2026-02-27 20:03:31.412","source":"ApiCacheManager.js:48","message":"[ApiCacheManager] count: 0 size: 0","levelName":"DEBUG","level":1} {"timestamp":"2026-02-27 20:03:31.415","source":"ApiCacheManager.js:59","message":"[ApiCacheManager] Cache miss: {\"user\":\"Kontrast\",\"url\":\"/libraries/b2f8cfd1-e1bf-4fda-a2c2-88da816c27e6?include=filterdata\"}","levelName":"DEBUG","level":1} {"timestamp":"2026-02-27 20:03:31.449","source":"ApiCacheManager.js:48","message":"[ApiCacheManager] count: 1 size: 1245","levelName":"DEBUG","level":1} ``` ### Additional Notes _No response_
adam added the bug label 2026-04-25 00:14:30 +02:00
Author
Owner

@IAmKontrast commented on GitHub (Feb 27, 2026):

It looks a bit like #4098 but there is no error between 19:50 and 20:03 (see logs above).

@IAmKontrast commented on GitHub (Feb 27, 2026): It looks a bit like #4098 but there is no error between 19:50 and 20:03 (see logs above).
Author
Owner

@IAmKontrast commented on GitHub (Mar 4, 2026):

Set all podcasts interval to every 30 min works like a charm. Maybe the 1 hour default is somehow broken?

@IAmKontrast commented on GitHub (Mar 4, 2026): Set all podcasts interval to every 30 min works like a charm. Maybe the 1 hour default is somehow broken?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#3245