How do i write a program that runs as a Daemon ?
Basically i want to achieve this :
I want to invoke a carry out a certain activity (liking invoking a certain application) based on time. That is, i schedule some activities for some time in future. Now, my appln. should continuosly check for time and if it is time to carry out that activity, simply do that, and continue running.
I guess, i must write a program that runs in background as a Daemon.
What language has to be used...Shell Script/C ?
How do i do this ?
Any available code ...
or info. on where i can find help on this would be helpful.