Additional Command Line Options; Controlling Access To At And Batch; Starting And Stopping The Service; Additional Resources - Red Hat ENTERPRISE LINUX 4 System Administration Manual

Hide thumbs Also See for ENTERPRISE LINUX 4:
Table of Contents

Advertisement

34.2.4. Additional Command Line Options

Additional command line options for at and batch include:
Option
-f
-m
-v
Table 34.1. at and batch Command Line Options

34.2.5. Controlling Access to At and Batch

The /etc/at.allow and /etc/at.deny files can be used to restrict access to the at and batch
commands. The format of both access control files is one username on each line. Whitespace is not
permitted in either file. The at daemon (atd) does not have to be restarted if the access control files
are modified. The access control files are read each time a user tries to execute the at or batch
commands.
The root user can always execute at and batch commands, regardless of the access control files.
If the file at.allow exists, only users listed in it are allowed to use at or batch, and the at.deny
file is ignored.
If at.allow does not exist, users listed in at.deny are not allowed to use at or batch.

34.2.6. Starting and Stopping the Service

To start the at service, use the command /sbin/service atd start. To stop the service, use
the command /sbin/service atd stop. It is recommended that you start the service at boot
Chapter 19, Controlling Access to Services
time. Refer to
automatically at boot time.

34.3. Additional Resources

To learn more about configuring automated tasks, refer to the following resources.

34.3.1. Installed Documentation

• cron man page — overview of cron.
• crontab man pages in sections 1 and 5 — The man page in section 1 contains an overview of the
crontab file. The man page in section 5 contains the format for the file and some example entries.
• /usr/share/doc/at-<version>/timespec contains more detailed information about the times
that can be specified for cron jobs.
• at man page — description of at and batch and their command line options.
Description
Read the commands or shell script from a file instead of specifying
them at the prompt.
Send email to the user when the job has been completed.
Display the time that the job is executed.
Additional Command Line Options
for details on starting the cron service
321

Advertisement

Table of Contents
loading

Table of Contents