timer is the property in dialog of type Date. This is needed to pass to schedule the task.
My requirement is to run some piece of code on selected time. I am not using typical scheduler why because felix console access is not provided us, it is maintained and managed by Adobe, we can't ask them to run scheduler as and when needed. We have only author access. So in authoring dialog as soon as author is selecting particular date and time, my timer task code should execute. To accomplish this i am using java.util.TimerTask
Below code still throwing nullpointer for resourceresolver.