Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Persistent Perl Script on Startup

Persistent Perl Script on Startup
Thread Tools
Forum Regular
Join Date: Dec 2000
Status: Offline
Reply With Quote
Sep 19, 2005, 09:19 PM
 
I've got a Perl script that needs to run continuously on a OS X machine, launching at start up.

How do I set it up so that it runs in the background as a process after the machine boots. No human interaction needed or wanted.

Thanks. (I'm sure it's rather simple, but I've not done it on OS X)
--
Filmo the Klown
     
Fresh-Faced Recruit
Join Date: Jan 2002
Status: Offline
Reply With Quote
Sep 20, 2005, 07:48 AM
 
You need to create a StartupItem - see http://www.macdevcenter.com/pub/a/ma...1/startup.html
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Sep 21, 2005, 05:42 AM
 
As of 10.4, StartupItems are being replaced with launchd LaunchDaemons
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:37 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2