In Linux, the at command and the t command allow the user to submit a job to the c r o n daemon to run the job at a later time. The later time may be 1 0 m I n or a few days later. If you want to run it after one month or longer, you 'd better use the c r o n t a B file. Once a job is submitted, the t command retains all the current environment variables, including the path. Unlike c r o n t a B, only the default environment is provided. All outputs of the job will be sent to the user by email. Unless you have redirected the output, most of the time it is redirected to a file. Like c r o n t a B, the root user can use a t in the/e t c directory. a l o w and a t. d e n y file to control which users can access www.2cto.com
Enter the user name .. You can use the t command to submit a job in several different forms. You can use the command line or a t command prompt. Generally, when I submit several lines of system commands, I use the t command prompt method, and when I submit the s h e l script, I use the command line method. If you want to submit several lines of commands, follow the t command with the date/time and press Enter. Then, enter the t command prompt, enter the corresponding command one by one, and then press '<c t r l-D>' to exit. The following is an example:
<E o t> is <c t r l-D>. In System 2: 1 0, a simple f I n d command is executed. You should have noticed that the job I submitted is assigned a unique identifier job 8. After this command is completed, all results will be sent to me in the form of an email. The following is a part of the email I intercepted:
Author luolunz