• 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 Scheduled Restart

     
    • 0 Vote(s) - 0 Average

    Scheduled Restart

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-03-02, 03:12 AM (This post was last modified: 2025-03-02, 03:13 AM by TheDreadPirate.)
    If it is installed as a service, not with Docker, you could simply set up a cronjob on the root user.

    Code:
    sudo su   # escalate to the root user
    crontab -e   # edit the current user's crontab

    An example cronjob will be something like this. The time I choose for this example is 4am at the top of the hour. Keep in mind this is 4am for whichever time zone your computer is set to. So make sure you either set your system timezone to your local time or if your system clock is GMT and you want to keep it that way you set the time in the cronjob accordingly.

    Code:
    0 4 * * * systemctl restart jellyfin

    Save and quit like you would from a text editor.

    That's it. Now Jellyfin will restart at 4am every day.
    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]
    1
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Scheduled Restart - by Checkerknight - 2025-03-01, 12:51 PM
    RE: Scheduled Restart - by TheDreadPirate - 2025-03-01, 07:02 PM
    RE: Scheduled Restart - by Checkerknight - 2025-03-01, 11:42 PM
    RE: Scheduled Restart - by TheDreadPirate - 2025-03-02, 03:12 AM
    RE: Scheduled Restart - by Checkerknight - 2025-03-04, 02:02 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