Go to main content

Developing System Services in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

Creating a Periodic Service

The start method and scheduling parameters for a periodic service instance are defined in the periodic_method element. When a periodic_method element exists, the service instance is automatically delegated to the periodic restarter.

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

To view real-world examples, you can use the following command to list periodic and scheduled services that are on your system:

$ svcs -R svc:/system/svc/periodic-restarter:default

To view a manifest, use the svcs -l command to show the full path to the manifest. Do not modify the manifest.