Go to main content

Developing System Services in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

Creating a Scheduled Service

The start method and scheduling parameters for a scheduled service instance are defined in the scheduled_method element. When a scheduled_method element exists, the service instance is automatically delegated to the periodic restarter, svc:/system/svc/periodic-restarter.

The start method scheduling parameters are stored in property groups of type schedule in the service configuration repository. The periodic restarter combines the values of each property of each property group of type schedule to schedule invocations of the start method of the scheduled service instance.

For an example of a simple periodic service manifest, see Example 6, Example Scheduled Service Manifest in Creating a Scheduled Service Using the Service Bundle Generator Tool.