此内容没有您所选择的语言版本。

27.2.2. Running the At Service


The At and Batch jobs are both picked by the atd service. This section provides information on how to start, stop, and restart the atd service, and shows how to enable it in a particular runlevel. For more information on the concept of runlevels and how to manage system services in Red Hat Enterprise Linux in general, see Chapter 12, Services and Daemons.

27.2.2.1. Starting and Stopping the At Service

To determine if the service is running, use the command service atd status.
To run the atd service in the current session, type the following at a shell prompt as root:
 service atd start 
To configure the service to start automatically at boot, use the following command:
 chkconfig atd on 

Note

It is recommended to start the service at boot automatically.
This command enables the service in runlevel 2, 3, 4, and 5. Alternatively, you can use the Service Configuration utility as described in Section 12.2.1.1, “Enabling and Disabling a Service”.

27.2.2.2. Stopping the At Service

To stop the atd service, type the following at a shell prompt as root
 service atd stop 
To disable starting the service at boot time, use the following command:
 chkconfig atd off 
This command disables the service in all runlevels. Alternatively, you can use the Service Configuration utility as described in Section 12.2.1.1, “Enabling and Disabling a Service”.

27.2.2.3. Restarting the At Service

To restart the atd service, type the following at a shell prompt:
 service atd restart 
This command stops the service and starts it again in quick succession.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.