I'd like to implement a periodic service in my Symbian application which would run based on 2 parameters - start time and interval. It should start when the current time is equal to start time and then run periodically based on interval. I've been trying to use the RTimer class to implement this functionality.
However, based on my understanding, RTimer can only run a task based on interval. It can not be used to configure a task to start at a specified time. To be precise, I'm looking for functionality similar to that offered by Java's timer class which has a schedule method
void schedule(TimerTask task, Date firstTime, long period)
Schedules the specified task for repeated fixed-delay execution, beginning at the specified time.
I'd like to control the first execution of my task based on a certain date/ time. I've seen a few messaging applications which can schedule sending out a SMS at a particular time and I'm doing something similar. Can it be done with active scheduler? If so, how. If not, what are the other options to achieve this.
Thanks in advance for an early reply.