pending, scheduler.pending, kPMRPCSchedulerPending, kPMObserveSchedulerPending — Date and time based triggers with events.


array of queued trigger structures scheduler.pending( );


Date and time based triggers with events.

pending queued triggers include all triggers for which a time can be calculated. To appear in pending a trigger must belong to an active event, and the trigger's date and time must be absolute.

pending can include a single event multiple times, if that event has multiple time based triggers.

pending is ordered by trigger time. The next event to be triggered is the first item in the list.

pending can be altered using the adjust, cancel, and reset requests.


pending is an array of queued trigger structures. Each item in pending must be unique.


Changes to pending can be observed, without polling, using scheduler.pending, kPMObserveSchedulerPending.


pending can be requested by any authenticated client.

Unauthenticated clients are authorized using the right. By default, any local process can request pending.




Example 111. C: scheduler.pending

CFMutableDictionaryRef myRequest = PMRequestCreate(kCFAllocatorDefault,kPMRPCSchedulerPending);

Example 112. Objective-C: scheduler.pending

DSSWPMRequest* myRequest = [DSSWPMRequest requestWithRequest:kPMRPCSchedulerPending];

Example 113. AppleScript: scheduler.pending

tell application "Power Manager Scripting"
    set myResult to pending of Scheduler
end tell

Example 114. Shell: scheduler.pending

./pmctl scheduler.pending