tags:

views:

50

answers:

3

I wrote a Ruby script that I want to run in the background repeatedly as long as the computer is running. I was planning on using GeekTool to get this .rb file to run in the background, but I'm having issues seen here using GeekTool to run my script.

The thing is that I want this script to be a complete surprise (it's a message display system for my wife) so I want to be able to have it start running every time her computer starts up and keep running as long as her computer is on. If I can't use GeekTool to do it then I have no idea what to use.

What can I do?

+4  A: 

You use launchd

Azeem.Butt
A: 

Lingon (despite not being actively supported) will help you create a launchd setup, and has quick access to the launchd man pages.

Clinton Blackmore
A: 

Geektool ended up working out for my needs after all.

Pselus