I am trying to check if the page is scheduled for future activation so I can notify the systems down the line. There is no direct menthod in the sling API providing a convineint menthod which tells if a page is scheduled for future activation (e.g. ReplocationStatus or any such sling class). Any idea how can I check on scheduled tasks for a page?
Found it in JCR structure under, /var/eventing/timed-jobs/org.apache.sling.event.job
But it will be very helpful if someone knows how to access all scheduled tasks via an API call.
Can you check if below API will help you.
JobManager will help you to find schedule job which will return an event object and from there you can travel through other information. It would be good to look at complete package