Home>Article>Operation and Maintenance> How to use the atq command in linux
atq can display the queue of jobs scheduled to run in Linux. The specific usage is as follows: View all scheduled jobs: atq View scheduled jobs for a specific user: atq -u Username View the command line of the job: atq -c Job number View the queue information of the job: atq -q Job number View the details of the job Message: atq -V job number
Usage of atq command in Linux
atq
Command is used to display the queue of jobs scheduled to run at a given time. You can use this command to check information such as scheduled jobs on your system, their status, and scheduled execution time.
Syntax:
atq [选项] [用户列表]
Options:
Using:
To view all scheduled jobs without options, just enter the following command:
atq
This A list is displayed with the following information:
To view scheduled jobs for a specific user, please Use the-u
option followed by the username:
atq -u username
To view the job's command line, use the-c
option:
atq -c job_number
To view the job's command line Queue information, use-q
option:
atq -q job_number
To view job details, use-V
option:
atq -V job_number
The above is the detailed content of How to use the atq command in linux. For more information, please follow other related articles on the PHP Chinese website!