MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Schedule MM restart

    General Discussion
    2
    3
    72
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Cliff365
      Cliff365 last edited by

      I’m having issues with a calendar module not updating. Is there a way to schedule a restart of MagicMirror? Something that would exit MM at 3am, and then pm2 would restart it.

      Thanks!

      S 1 Reply Last reply Reply Quote 1
      • S
        sdetweil @Cliff365 last edited by

        @cliff365 you could create a cron job
        to pm2 restart MagicMirror at 3am

        make sure the cron job runs as the user pi not the default root

        Sam

        Create a working config
        How to add modules

        Cliff365 1 Reply Last reply Reply Quote 0
        • Cliff365
          Cliff365 @sdetweil last edited by

          @sdetweil Thanks! I think I can manage that.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy