CF Startup and shutdown on OSX
There's a simple and easy way to control CF instances on OSX (or flex / jrun for that matter). Get a little program called Lingon.
- Once installed, run it and click the "New" button (top left).
- Choose "Users Daemons"
- On the resulting screen, set the "Label" field as something like "CFMX Service"
- Use the plus icon to the right of the "Program Arguments" box to add the following arguments. These arguments should be in order, and each should be added as a seperate entry in the list (by clicking the little plus button again):
- /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/bin/java
- -server
- -Djava.awt.headless=true
- -jar
- /Applications/JRun4/lib/jrun.jar
- -start
- cfusion
- Cick "Just save" or "Save and Load" and you're done.
As you might imagine, you can change the last argument from "cfusion" to "flex" or whatever you named the instance of your FDS setup to create a service for starting your flex instance.
http://www.tobytremayne.com/trackback.cfm?404ADCE2-08EB-AC8C-211755E0FB957343


how about it switching from manual to automatic (ie: on startup)? or a restart?
Basically a more manageable cron