Jump to content

Help 'Exiting' after Automator Shell Script Execution


Guest bkpatel7
 Share

1 post in this topic

Recommended Posts

Guest bkpatel7

Hello,

 

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.

 

Thanks

GCal_Grab.tiff

Link to comment
Share on other sites

 Share

×
×
  • Create New...