Shell Script doesn't run automatically though it is registered in Mac OS X Login Items

I have the following shell script registered in my "Login Items" preferences but it does not seem to have any effect. It is meant to launch the moinmoin wiki but only works when it is run by hand from a terminal window, after which it runs until the machine is next shut down.

cd /Users/stuartcw/Documents/Wiki/moin-1.7.2
/usr/bin/python >> logs/`date +"%d%b%Y"`.log 2>&1 &

I would really like the Wiki to be available after restarting so any help in understanding this would be appreciated.


launchd is one of the best parts of MacOS X, and it causes me great pain to not be able to find it on other systems.

Edit and place this in /Library/LaunchDaemons as

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "">
<plist version="1.0">
    <string>user to run this as</string>

Try using launchd. More info at

Need Your Help

How can show image on submit button?

html css button submit background-image

I have a submit button and I want to show an image(a.jpg) on that button and won't show the value of submit button. Is it possible in case of a 'submit' type button ? (not "type='image'") &lt;input