MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    A quick question about crontab

    Scheduled Pinned Locked Moved Troubleshooting
    4 Posts 2 Posters 1.2k Views 2 Watching
    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.
    • M Offline
      MadScientist
      last edited by

      Every few hours - like once a day (very irregularly) - my mirror just goes black. The Magicmirror is still running and everything but it’s not displaying anything anymore. A ctrl+rrefreshes the site and all modules show up again without restarting the process via pm2.
      I would like to automatize that with crontab, if possible. Does anyone know how tell crontab to execute a key combination? For now I’ve put pm2 reload mm. Still have to see if that works as intended but a simple refresh would be nicer.

      Of course if anybody knows how to fix the “going blank” issue I’ll be more than happy go that route. I couldn’t figure out yet what causes it. All I can say is that the CPU load goes down to 0-1% and the available free memory is suspiciously high while the script is still running. This never happened before I updated to v2.4.1.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @MadScientist
        last edited by

        @madscientist others have mentioned commenting out the updater module

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil also, i don’t think u can send keystrokes

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • M Offline
            MadScientist
            last edited by

            Thanks for your reply. I have already commented out the updater module (following the other thread quietly) but that hasn’t changed anything. It’s a pity you can’t send keystrokes but for now the pm2 reload...seems to do the job. At least according to pm show...it was successfully reloaded this morning.

            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 Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy