Dynamic Scheduler on given date in aem as a cloud service.
Hi Team,
I have a requirment. The requirment is, once the bundle got activated it has to get the date from page and create a scheduler with that date.
once scheduler gets triggered on given date and time it has to do some x task and again it has to get the date and time from page and schedule a new scheduler.
I have created a apache scheduler (org.apache.sling.commons.scheduler.Scheduler) and it's working in local but not in cloud (some times it worked but suddenly it stoped working with no errors in logs) and also i tried sling job (org.apache.sling.event.jobs.consumer.JobConsumer) it working in local but not in cloud. Could anyone help me to achive the requirement using scheduler or any other ways.
Thanks in advance.