Help 'Exiting' after Automator Shell Script Execution
I've recently installed and got running GCalDaemon ( http://gcaldaemon.sourceforge.net/) which allows me to Synch Rainlendar <-> Google Calendar through iCal (You can also synch iCal <-> Google Calendar). I needed to start up a shell script/applescript after each startup/login in order for GCalDaemon to start the synching process each time and continue to do so at the timed intervals. I would do so by the following terminal code:
cd /usr/local/sbin/GCALDaemon/bin
./standalone-start.sh
I then tried automating this process and came across shell script execution through Automator. I did so and created a .app with the above mentioned code. This works and it starts up the necessary .sh file I need and the snyching works under StartUp. My concern is however, how do I exit terminal once the code has executed the necessary file? All I have in my .app is the above mentioned code for now. I just need it to exit terminal because on startup or after starting the program, I get this issue (See Attachment)
This continues to run, so my guess is that I need to add code to exit terminal and allow the .app to close itself properly after doing so.
Please guide me in the right direction.
Picture Belows shows what happens when I run the Automator App. It continues to run until I quit out of the app manually (TheGCal programs works fine though). I feel I need to have app quit Terminal or fully end the process and quit out on it's own.
Thanks
<table style="width:auto;"><tr><td> </td></tr><tr><td style="font-family:arial,sans-serif; font-size:11px; text-align:right">From GCalDaemon</td></tr></table>
MacBook Pro 15 (Early 2008), Mac OS X (10.5.6)