• 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 Windows's Command Line

     
    • 0 Vote(s) - 0 Average

    Windows's Command Line

    wanderman
    Offline

    Junior Member

    Posts: 15
    Threads: 5
    Joined: 2024 May
    Reputation: 0
    Country:Germany
    #6
    2024-05-16, 07:24 PM (This post was last modified: 2024-05-16, 07:26 PM by wanderman. Edited 1 time in total.)
    Ok thanks for the response. I was asking as i had problems with my old setup of shutting down the tray exe & jellyfin exe to be able to run a backup task. My old method seems to be broken since 1.9. as im no more able to properly kill both exes, either by normal or forced kill. One of both always keeps running.

    However i found a solution, might help someone in the future. Im running a nightly FreeFileSync Backup for my database, thats why i need jellyfin stopped to not get corrupted files into the backup folder. The following is my Windows batch.

    The Batch as well as FreeFileSync is started by using the Windows Task Scheduler

    Shutdown via api call - short timer while FreeFileSync is running - Restarting

    Code:
    curl "http://192.168.178.71:8096/System/Shutdown" -X POST -H "X-Emby-Token: #####APIKEY####"

    TIMEOUT /T 1140 /NOBREAK

    start C:\"Program Files"\Jellyfin\Server\Jellyfin.exe
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Windows's Command Line - by Nast - 2023-07-25, 12:16 PM
    RE: Windows's Command Line - by qwerty12 - 2023-07-25, 02:28 PM
    RE: Windows's Command Line - by wanderman - 2024-05-15, 06:38 PM
    RE: Windows's Command Line - by skribe - 2023-07-25, 02:32 PM
    RE: Windows's Command Line - by TheDreadPirate - 2024-05-15, 07:07 PM
    RE: Windows's Command Line - by wanderman - 2024-05-16, 07:24 PM
    RE: Windows's Command Line - by qwerty12 - 2024-05-17, 09:45 PM

    • 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