Using the at Command (Task Map)

Task

Description

For Instructions

Create an at job.

Use the atcommand to do the following:

  • Start the at utility from the command line.

  • Type the commands or scripts that you want to execute, one per line.

  • Exit the at utility and save the job.

How to Create an at Job

Display the at queue.

User the atq command to display the at queue.

How to Display the at Queue

Verify an at job.

Use the atq command to confirm that at jobs that belong to a specific user have been submitted to the queue.

How to Verify an at Job

Display at jobs.

Use the at -l[job-id to display at jobs. that have been submitted to the queue.

How to Display at Jobs

Remove at jobs.

Use the at -r [job-id] command to remove at jobs from the queue.

How to Remove at Jobs

Deny access to the at command.

To deny users access to the atcommand, edit the /etc/cron.d/at.deny file.

How to Deny Access to the at Command