Results 1 to 3 of 3
  1. #1

    Member Since
    Feb 28, 2005
    Bagshot, Surrey, UK
    Powerbook 17" 1.5GHz, 2GB, 160GB Momentus; iMac 24" 3.06GHz, 2GB; iPhone 2.5G 8GB; iPod 5G 60GB
    Run a script at login?
    I'd like to run a shell script at login.

    I saw this:
    ...but I'm a bit reluctant to do this because it appears that if the script fails to execute, things could start breaking.

    I could set up a Startup item, but I think this means a Terminal window will sit around until I close it.

    Any suggestions?

    (Out of interest, the script I want to run will simply spawn off the Facebook Cityware node software, so my Mac will run as a Cityware node. It's a Java app which runs from the command line, which is why I can't start it just like any other application.)

  2. #2

    giulio's Avatar
    Member Since
    Mar 19, 2007
    NY USA
    iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano
    Write an applescript that runs the a shell command. Save it as an application in ~/Applications/ (in your home folder). Then add that application to your startup items.

  3. #3

    Member Since
    Mar 21, 2007
    Can you check the 'hidden' option in your startup items? Does that help you with the terminal window part?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 10-21-2009, 11:44 PM
  2. Login Script
    By combatking0 in forum macOS - Operating System
    Replies: 3
    Last Post: 09-22-2009, 04:48 AM
  3. Script to delete plist at login?
    By maulrat1967 in forum macOS - Operating System
    Replies: 3
    Last Post: 04-07-2007, 11:34 AM
  4. creating script for system login
    By pbook24 in forum Schweb's Lounge
    Replies: 3
    Last Post: 01-30-2006, 03:14 PM
  5. I need to replace my login script @ usr/login/bin
    By Bo Eddy in forum macOS - Operating System
    Replies: 1
    Last Post: 05-11-2004, 01:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts