Scheduled Tasks running outside of specified times

Server Version#: 1.41.1.9057

I have configured the server to run scheduled tasks overnight, between 12 am and 10 am.

I have also configured under Library for the scanning features to run as scheduled tasks (in addition to when added)

But I see Plex performing voice activity scanning and other tasks outside of that window on older media that were not just added.

I see other posts from 2021 stating the same thing, but there was no response before the post was closed. So, I’m bringing it up again now as it’s still happening.

Any chance you manually analyzed the files? That will kick off voice activity detection.

Also, how far outside the window? If Plex is analyzing a file when the window closes, it will still finish analyzing that file.

I stop the schedule at 10 am and I’ve seen stuff running at 4 pm.

I didn’t manually trigger analyzing any files.

I’ll watch for it to happen again and try to catch some logs or something

If you care to dig into the log files…

You can look in Plex Media Server.log and rollovers, .1 to .5.

Scheduled Tasks are referred to as Butler Tasks in the log files.

You can see when the window opens:

Oct 31, 2024 15:08:54.723 [140141462170424] DEBUG - Butler: we're in the window, starting.
Oct 31, 2024 15:08:54.723 [140141462170424] DEBUG - Butler: Waking up!

There will be similar entries when the window closes.

When Voice Activity Analysis kicks off as a scheduled task:

Oct 31, 2024 21:12:54.725 [140141413649208] DEBUG - Butler: Starting delayed task ButlerTaskGenerateVoiceActivity.
Oct 31, 2024 21:13:10.337 [140141540350776] DEBUG - Butler: Upgrading voice activity for 5515 items

Checking that a file has been analyzed. This movie has already been analyzed (notice the analysis takes less than two seconds). If it had not, there would be additional entries and it would have taken minutes, not seconds, to analyze the file (exact duration depends on length of movie and CPU speed).

Oct 31, 2024 21:13:10.431 [140141540350776] DEBUG - Butler: Scheduling voice activity detection for: 135992
Oct 31, 2024 21:13:11.525 [140141540350776] DEBUG - [VoiceActivityDetectionManager] Running voice activity detection for 'Three Amigos! (1986)' (id: 135992)
Oct 31, 2024 21:13:11.527 [140141540350776] DEBUG - [VoiceActivityDetectionManager] Activity: registered new activity d07262ca-6cab-446f-a899-904c3e965d74 - "Detecting Voice Activity"
Oct 31, 2024 21:13:11.529 [140141540350776] DEBUG - [VoiceActivityDetectionManager] Activity: updated activity d07262ca-6cab-446f-a899-904c3e965d74 - completed 99.0% - Detecting Voice Activity
Oct 31, 2024 21:13:11.532 [140141540350776] DEBUG - [VoiceActivityDetectionManager] Activity: Ended activity d07262ca-6cab-446f-a899-904c3e965d74.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.