Console program autostart

Mac OSX specific forum
mrniceguy1971
User
User
Posts: 56
Joined: Tue May 16, 2006 3:52 pm

Console program autostart

Post by mrniceguy1971 »

Hi,

I would like to develop a console program for OSX.

The console program should always run (not shown) in the background and must at be activated at startup of the machine.

When shutting down the machine, the program must perform a number of tasks and shutdown.

Could perhaps someone provide some examples how to autostart OSX console programs and notice shutdown?

Thanks in advance!