making a program run at startup with cmd

Discussion in 'macOS' started by semaja2, Dec 26, 2005.

  1. semaja2 macrumors 6502a

    Dec 12, 2005
    Hey guys ive got synergy the one which makes it so you can control 2 pcs from one, and i would like it if the daemon started up with the ibook or just when i login, how would i go about doing this

    ps the cmd line i mean is ./Synergy -n white -f --daemon turbo:24800
  2. Benjamindaines macrumors 68030


    Mar 24, 2005
    A religiously oppressed state
    Open Terminal (but dont type anything in the window)
    Go File > Save
    Make your window look like this:
    Click Save
    Then open up system prefrences and go to Accounts.
    Click the name of your account
    Click on the Login Items tab
    Click the Plus and add in Terminal. Then click the check box next to it (This will make it run but not pop up a terminal window)
  3. trainguy77 macrumors 68040

    Nov 13, 2003
    If you wanted to make it start up at boot-up then you would need to enter that into the cron tab as i recall. I don't know how to do this but i will take a look.
  4. jhu macrumors 6502a


    Apr 4, 2004
    cron is for recurring tasks. if you want to make it start at boot, you put it one of the "/etc/rc" scripts.
  5. trainguy77 macrumors 68040

    Nov 13, 2003
    I see. mc86k would know how to set this up. As he wrote a script for folding that starts folding on boot up.

Share This Page