• 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 Troubleshooting Networking & Access Server stops working every 30 min outside of house?

     
    • 0 Vote(s) - 0 Average

    Server stops working every 30 min outside of house?

    Leafies121
    Offline

    Junior Member

    Posts: 18
    Threads: 8
    Joined: 2024 Jan
    Reputation: 0
    Country:United States
    #5
    2024-02-16, 03:43 AM (This post was last modified: 2024-02-16, 03:44 AM by Leafies121. Edited 1 time in total.)
    well this worked initially, and then windows did a massive update (not 11 thank god.) and even though hdd and network are set to never sleep it still happens now. i then learned task scheduler is just super broken in windows 10 now so i cant even set a task to restart JF every 20 min. this is probably the worst workaround to use but heres what i did.

    I made a batch file that counts down and resets jellyfin every 19 min, kills the old processes and starts it again. and added that to startup.

    Code:
    @echo off
    Title JellyFin Auto Reboot
    G:
    cd "G:\program files\jellyfin"
    :repeat
    REM Countdown timer for 19 minutes
    set /a "minutes=19"
    set /a "seconds=00"

    :countdown
    cls
    echo Rebooting Jellyfin in %minutes% minutes and %seconds% seconds.
    timeout /t 1 >nul
    set /a "seconds-=1"

    if %seconds% equ -1 (
        set /a "minutes-=1"
        set "seconds=59"
    )

    if %minutes% geq 0 goto countdown
    echo Rebooting JellyFin
    taskkill /f /im jellyfin.windows.tray.exe
    taskkill /f /im jellyfin.exe
    start jellyfin.lnk
    goto repeat
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Server stops working every 30 min outside of house? - by Leafies121 - 2024-02-12, 07:50 PM
    RE: Server stops working every 30 min outside of house? - by tmsrxzar - 2024-02-12, 08:32 PM
    RE: Server stops working every 30 min outside of house? - by Leafies121 - 2024-02-12, 09:12 PM
    RE: Server stops working every 30 min outside of house? - by TheDreadPirate - 2024-02-12, 09:22 PM
    RE: Server stops working every 30 min outside of house? - by Leafies121 - 2024-02-16, 03:43 AM
    RE: Server stops working every 30 min outside of house? - by TheDreadPirate - 2024-02-16, 03:50 AM
    RE: Server stops working every 30 min outside of house? - by TheDreadPirate - 2024-02-16, 03:56 AM
    RE: Server stops working every 30 min outside of house? - by Leafies121 - 2024-02-17, 01:49 AM
    RE: Server stops working every 30 min outside of house? - by TheDreadPirate - 2024-02-17, 01:57 AM

    • 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