Layer: services

Module: cron

Interfaces Templates

Description:

Periodic execution of scheduled commands.

Interfaces:

cron_read_pipe( domain )
Summary

Read a cron daemon unnamed pipe.

Parameters
Parameter:Description:Optional:
domain Domain allowed access. No
cron_read_system_job_tmp_files( domain )
Summary

Read temporary files from the system cron jobs.

Parameters
Parameter:Description:Optional:
domain Domain allowed access. No
cron_rw_log( domain )
Summary

Read and write the cron daemon log files.

Parameters
Parameter:Description:Optional:
domain The type of the process to performing this action. No
cron_rw_pipe( domain )
Summary

Read and write a cron daemon unnamed pipe.

Parameters
Parameter:Description:Optional:
domain Domain allowed access. No
cron_search_spool( domain )
Summary

Search the directory containing user cron tables.

Parameters
Parameter:Description:Optional:
domain The type of the process to performing this action. No
cron_sigchld( domain )
Summary

Send a SIGCHLD signal to the cron daemon.

Parameters
Parameter:Description:Optional:
domain Domain allowed access. No
cron_system_entry( domain , entrypoint )
Summary

Make the specified program domain accessable from the system cron jobs.

Parameters
Parameter:Description:Optional:
domain The type of the process to transition to. No
entrypoint The type of the file used as an entrypoint to this domain. No
cron_use_fd( domain )
Summary

Inherit and use a file descriptor from the cron daemon.

Parameters
Parameter:Description:Optional:
domain Domain allowed access. No
cron_use_system_job_fd( domain )
Summary

Inherit and use a file descriptor from system cron jobs.

Parameters
Parameter:Description:Optional:
domain Domain allowed access. No
cron_write_system_job_pipe( domain )
Summary

Wrate a system cron job unnamed pipe.

Parameters
Parameter:Description:Optional:
domain Domain allowed access. No
Return

Templates:

cron_admin_template( userdomain_prefix )
Summary

The administrative functions template for the cron module.

Description

This template creates rules for administrating the cron service, allowing the specified user to manage other user crontabs.

Parameters
Parameter:Description:Optional:
userdomain_prefix The prefix of the user domain (e.g., user is the prefix for user_t). No
cron_per_userdomain_template( userdomain_prefix , user_domain , user_role )
Summary

The per user domain template for the cron module.

Description

This template creates a derived domains which are used for running programs on behalf of the user, from cron. A type for the user crontab is also created.

This template is invoked automatically for each user, and generally does not need to be invoked directly by policy writers.

Parameters
Parameter:Description:Optional:
userdomain_prefix The prefix of the user domain (e.g., user is the prefix for user_t). No
user_domain The type of the user domain. No
user_role The role associated with the user domain. No
Return