16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

cron daemon<br />

Files<br />

If these files do not exist, only the superuser can use the at command. To allow all<br />

users access to at, there must be a null at.deny file and no at.allow file.<br />

cron uses the files cron.allow and cron.deny in a similar manner.<br />

v cron.allow contains the list of users who have permission to use crontab.<br />

v cron.deny contains the list of users who do not have permission to use crontab.<br />

If these files do not exist, only the superuser can use crontab. To allow all users<br />

access to crontab, there must be a null cron.deny file and no cron.allow file.<br />

cron uses the following files which reside in a system-defined directory:<br />

/etc/mailx.rc<br />

Although cron does not use this file directly, cron may call mailx which<br />

uses this file for configuration settings. Specifically, for cron to deliver<br />

messages properly, this file should contain a valid setting for the mailx<br />

sendmail variable. This file is generally copied from /samples/mailx.rc.<br />

/usr/spool/cron<br />

The main cron directory.<br />

Related Information<br />

at, crontab, mailx<br />

/usr/spool/cron/atjobs<br />

A directory containing at files.<br />

/usr/spool/cron/crontabs<br />

A directory containing crontab files.<br />

/usr/spool/cron/log<br />

A file that maintains a history of the commands being run. The systems<br />

administrator should truncate this file periodically.<br />

/usr/spool/cron/pid<br />

A file that cron uses to ensure that only one version of cron is currently<br />

running on the system. This file must be unique per system which is<br />

particularly important when you are setting up a sysplex. For more<br />

information about customizing cron when setting up a sysplex see<br />

″Customizing cron, uucp, and mail Utilities for a Read-Only root file system″<br />

and ″Customizing the cron and uucp Utilities″ in z/<strong>OS</strong> <strong>UNIX</strong> <strong>System</strong><br />

<strong>Services</strong> Planning.<br />

/usr/lib/cron/at.allow<br />

Contains a list of the users who can use the at command (one per line).<br />

/usr/lib/cron/at.deny<br />

Contains a list of the users who cannot use the at command (one per line).<br />

/usr/lib/cron/cron.allow<br />

Contains a list of the users who can use the crontab command (one per<br />

line).<br />

/usr/lib/cron/cron.deny<br />

Contains a list of the users who cannot use the crontab command (one per<br />

line).<br />

/usr/lib/cron/queuedefs<br />

The queue description file (see the description of queuedefs in 921).<br />

170 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!