Blob Blame History Raw
<html>
<head>
<title>
 Security Enhanced Linux Reference Policy
 </title>
<style type="text/css" media="all">@import "style.css";</style>
</head>
<body>
<div id="Header">Security Enhanced Linux Reference Policy</div>
<div id='Menu'>
	
		<a href="admin.html">+&nbsp;
		admin</a></br/>
		<div id='subitem'>
		
		</div>
	
		<a href="apps.html">+&nbsp;
		apps</a></br/>
		<div id='subitem'>
		
		</div>
	
		<a href="kernel.html">+&nbsp;
		kernel</a></br/>
		<div id='subitem'>
		
		</div>
	
		<a href="services.html">+&nbsp;
		services</a></br/>
		<div id='subitem'>
		
			&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_cron.html'>
			cron</a><br/>
		
			&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_inetd.html'>
			inetd</a><br/>
		
			&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_kerberos.html'>
			kerberos</a><br/>
		
			&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_mta.html'>
			mta</a><br/>
		
			&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_nis.html'>
			nis</a><br/>
		
			&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_remotelogin.html'>
			remotelogin</a><br/>
		
			&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_sendmail.html'>
			sendmail</a><br/>
		
			&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_ssh.html'>
			ssh</a><br/>
		
		</div>
	
		<a href="system.html">+&nbsp;
		system</a></br/>
		<div id='subitem'>
		
		</div>
	
	<br/><p/>
	<a href="interfaces.html">*&nbsp;Interface Index</a>
	<br/><p/>
	<a href="templates.html">*&nbsp;Template Index</a>
</div>

<div id="Content">
<a name="top":></a>
<h1>Layer: services</h1><p/>
<h2>Module: cron</h2><p/>


<a href=#interfaces>Interfaces</a>
<a href=#templates>Templates</a>


<h3>Description:</h3>

<p><p>Periodic execution of scheduled commands.</p></p>



<a name="interfaces"></a>
<h3>Interfaces: </h3>

<div id="interface">


<div id="codeblock">

<b>cron_read_pipe</b>(
	
		
		
		
		domain
		
	
	)<br>
</div>
<div id="description">

<h5>Summary</h5>
<p>
Read a cron daemon unnamed pipe
</p>


<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>

<tr><td>
domain
</td><td>

The type of the process to performing this action.

</td><td>
No
</td></tr>

</table>
</div>
</div>

<div id="interface">


<div id="codeblock">

<b>cron_rw_log</b>(
	
		
		
		
		domain
		
	
	)<br>
</div>
<div id="description">

<h5>Summary</h5>
<p>
Read and write the cron daemon log files.
</p>


<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>

<tr><td>
domain
</td><td>

The type of the process to performing this action.

</td><td>
No
</td></tr>

</table>
</div>
</div>

<div id="interface">


<div id="codeblock">

<b>cron_search_spool</b>(
	
		
		
		
		domain
		
	
	)<br>
</div>
<div id="description">

<h5>Summary</h5>
<p>
Search the directory containing user cron tables.
</p>


<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>

<tr><td>
domain
</td><td>

The type of the process to performing this action.

</td><td>
No
</td></tr>

</table>
</div>
</div>

<div id="interface">


<div id="codeblock">

<b>cron_system_entry</b>(
	
		
		
		
		domain
		
	
		
			,
		
		
		
		entrypoint
		
	
	)<br>
</div>
<div id="description">

<h5>Summary</h5>
<p>
Make the specified program domain accessable
from the system cron jobs.
</p>


<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>

<tr><td>
domain
</td><td>

The type of the process to transition to.

</td><td>
No
</td></tr>

<tr><td>
entrypoint
</td><td>

The type of the file used as an entrypoint to this domain.

</td><td>
No
</td></tr>

</table>
</div>
</div>


<a href=#top>Return</a>


<a name="templates"></a>
<h3>Templates: </h3>

<div id="template">


<div id="codeblock">

<b>cron_admin_template</b>(
	
		
		
		
		userdomain_prefix
		
	
	)<br>
</div>
<div id="description">

<h5>Summary</h5>
<p>
The administrative functions template for the cron module.
</p>


<h5>Description</h5>
<p>
</p><p>
This template creates rules for administrating the cron service,
allowing the specified user to manage other user crontabs.
</p><p>
</p>

<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>

<tr><td>
userdomain_prefix
</td><td>

The prefix of the user domain (e.g., user
is the prefix for user_t).

</td><td>
No
</td></tr>

</table>
</div>
</div>

<div id="template">


<div id="codeblock">

<b>cron_per_userdomain_template</b>(
	
		
		
		
		userdomain_prefix
		
	
	)<br>
</div>
<div id="description">

<h5>Summary</h5>
<p>
The per user domain template for the cron module.
</p>


<h5>Description</h5>
<p>
</p><p>
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.
</p><p>
</p><p>
This template is invoked automatically for each user, and
generally does not need to be invoked directly
by policy writers.
</p><p>
</p>

<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>

<tr><td>
userdomain_prefix
</td><td>

The prefix of the user domain (e.g., user
is the prefix for user_t).

</td><td>
No
</td></tr>

</table>
</div>
</div>


<a href=#top>Return</a>


</div>
</body>
</html>