• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
TRIGGERcmd
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

What's the difference between background and foreground commands?

Instructions
8
23
38.4k
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.
  • K
    Kingnabis
    last edited by Oct 30, 2020, 12:03 AM

    Yes, mine was like yours but i was jumping the COMAND part. I need to add START previously to notepad... I udapted like this and it works. I have to write it on cmd, if works there works from the skill. asdge.PNG

    1 Reply Last reply Reply Quote 0
    • K
      Kingnabis
      last edited by Oct 30, 2020, 12:25 AM

      ahoraci.PNG

      1 Reply Last reply Reply Quote 0
      • A
        adriangcamacho
        last edited by adriangcamacho Mar 9, 2021, 8:11 PM Mar 9, 2021, 8:11 PM

        Hi, any solution to run background commands in mac os?

        R 1 Reply Last reply Mar 9, 2021, 11:52 PM Reply Quote 0
        • R
          Russ @adriangcamacho
          last edited by Mar 9, 2021, 11:52 PM

          @Adrián-González-Camacho, not yet. I didn't think many Mac users would want to use it. Do you want this feature so you can run commands while you're not logged on? Just curious what your use-case is.

          Russell VanderMey

          A 1 Reply Last reply Mar 11, 2021, 7:52 PM Reply Quote 0
          • A
            adriangcamacho @Russ
            last edited by Mar 11, 2021, 7:52 PM

            @Russ I want to use my mac as a server and launch home automation commands

            R 1 Reply Last reply Mar 11, 2021, 11:52 PM Reply Quote 1
            • R
              Russ @adriangcamacho
              last edited by Mar 11, 2021, 11:52 PM

              @adriangcamacho, I see. I assume you don't want to leave it logged in?

              I'll have to research again how to create services that startup at boot time on a Mac.

              Russell VanderMey

              A 1 Reply Last reply Mar 15, 2021, 11:40 AM Reply Quote 1
              • A
                adriangcamacho @Russ
                last edited by Mar 15, 2021, 11:40 AM

                @Russ Yep, thank you a lot for your time.
                If you need some help i think i could help you i'm backend developer.

                1 Reply Last reply Reply Quote 0
                • T
                  TuneyLunes
                  last edited by Mar 28, 2021, 4:09 PM

                  I'd also like to use my mac as an automation server and it would be easier to not have to be logged in permanently. Thanks @Russ !

                  R 1 Reply Last reply Mar 28, 2021, 7:03 PM Reply Quote 0
                  • R
                    Russ @TuneyLunes
                    last edited by Mar 28, 2021, 7:03 PM

                    @TuneyLunes, I haven't built this into the Mac agent yet, so for now you can use this method to setup the background agent on a Mac.

                    Russell VanderMey

                    1 Reply Last reply Reply Quote 0
                    • A
                      Alê 滝口 @Russ
                      last edited by Feb 18, 2023, 11:41 AM

                      @Russ Could you give me an example of a command to run a script?

                      R 1 Reply Last reply Feb 18, 2023, 2:23 PM Reply Quote 0
                      • R
                        Russ @Alê 滝口
                        last edited by Feb 18, 2023, 2:23 PM

                        @Alê-滝口, if the computer is running Mac or Linux, the command could be:

                        ~/yourscript.sh
                        

                        That assumes you've created a script in your home directory called yourscript.sh.

                        If the computer is running Windows, the command could be:

                        c:\scripts\yourscript.bat
                        

                        That assumes you created a c:\scripts folder, and put yourscript.bat in it.

                        Russell VanderMey

                        A 1 Reply Last reply Feb 19, 2023, 1:03 AM Reply Quote 0
                        • A
                          Alê 滝口 @Russ
                          last edited by Feb 19, 2023, 1:03 AM

                          @Russ thank you !!!

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post