• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 182 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.
  • D Offline
    DDE12 @sdetweil
    last edited by Feb 3, 2025, 9:32 PM

    @sdetweil That was the solution. Thank you!

    29 14 * * * /usr/local/bin/pm2 start mm.sh >/dev/null >2&1
    
    S 1 Reply Last reply Feb 3, 2025, 9:40 PM Reply Quote 0
    • D DDE12 has marked this topic as solved on Feb 3, 2025, 9:32 PM
    • S Away
      sdetweil @DDE12
      last edited by Feb 3, 2025, 9:40 PM

      @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 Feb 4, 2025, 1:52 AM Feb 4, 2025, 1:51 AM

        Now I have

        PATH=/usr/local/bin:/usr/bin:/bin
        00 7 * * * pm2 start mm >/dev/null 2>&1
        
        S 1 Reply Last reply Feb 4, 2025, 1:53 AM Reply Quote 0
        • S Away
          sdetweil @DDE12
          last edited by sdetweil Feb 4, 2025, 1:55 AM Feb 4, 2025, 1:53 AM

          @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 Feb 4, 2025, 2:01 AM Reply Quote 0
          • D Offline
            DDE12 @sdetweil
            last edited by Feb 4, 2025, 2:01 AM

            @sdetweil Like so

            PATH=/usr/local/bin:/usr/bin:/bin
            00 7 * * * pm2 start mm &>/dev/null
            
            
            S 1 Reply Last reply Feb 4, 2025, 11:20 AM Reply Quote 0
            • S Away
              sdetweil @DDE12
              last edited by Feb 4, 2025, 11:20 AM

              @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 Feb 18, 2025, 5:19 PM
              • 1 / 1
              1 / 1
              • First post
                7/8
                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