• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions How does the "time limit (hours)" setting in Scheduled Task work?

     
    • 0 Vote(s) - 0 Average

    How does the "time limit (hours)" setting in Scheduled Task work?

    I would like to know how the "time limit (hours)" setting in Scheduled Task works.
    Weilong Li
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2025 Mar
    Reputation: 0
    #1
    2025-03-16, 01:54 PM
    Quote:My native language is not English, and all texts are translated through AI, so there may be errors. I apologize in advance for any inaccuracies.

    In Scheduled Task, there is a "time limit (hours)" setting. How does it work? (Or, what is its function?)

    Does it mean that when "time" expires, the task is executed, and then it needs to wait for the duration set in "time limit (hours)" before restarting the calculation of "time"?
    Or, when the "time" expires, both the "time" and the "time limit (hours)" start to be calculated simultaneously, and the task will only be executed if both exceed their time limits?
    Or is it used only to set an interval time to prevent frequent execution, where the Scheduled Task will only execute if the interval between two times is greater than the "time limit (hours)"?
    Or is there some other function that I haven't thought of?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-03-16, 04:51 PM
    If a task takes too long to complete this setting will kill the job after the configured amount of time. Some tasks, like creating trickplays, can take many hours to complete when you add a lot of content. Audio normalization can also take a long time. And both of these examples can use a lot of CPU power. If you have a jellyfin server with limited compute power these two jobs could affect the usability of Jellyfin.

    So to account for your limited CPU resources you want these jobs to run at 1 am when no one is using the system. But you want to kill the job after 5 hours (6am) when you/your users wake up and may start using Jellyfin.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode