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.

    Help with Crontab starting pm2 mm.sh

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 2 Posters 478 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.
    • S Offline
      sdetweil @DDE12
      last edited by

      @DDE12 and you don’t need start mm.sh

      After you’ve done it once

      pm2 status

      Will show the apps

      Name and row number

      You can use name or row number

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • D Offline
        DDE12
        last edited by DDE12

        Now I have

        PATH=/usr/local/bin:/usr/bin:/bin
        00 7 * * * pm2 start mm >/dev/null 2>&1
        
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @DDE12
          last edited by sdetweil

          @DDE12 awesome!!

          i learned recently that

          &> xxx

          is the same as >xxx 2>&1

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil Like so

            PATH=/usr/local/bin:/usr/bin:/bin
            00 7 * * * pm2 start mm &>/dev/null
            
            
            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @DDE12
              last edited by

              @DDE12 yes

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S sdetweil referenced this topic on
              • 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