I got u r question ... u mean that it should run in back ground for ever till the server is rebooted.
What u have to do is
define the service in a program set the program in such a way that it should become the group leader.
setsid=getpid() ; /* This will make u r service the leader of u r group u belong to */
i don't remember the whole syntax in detail u can go thru the daemon concepts and find it out.
u can run this by manually running the program or setting this particular program in u r cron job if u have any difficulties in cron please feel free to contact me at
sivhard@rediffmail.com