[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Diferencias
Muestra las diferencias entre dos versiones de la página.
Próxima revisión | Revisión previaPróxima revisiónAmbos lados, revisión siguiente | ||
es:howtos:software:at [2019/02/28 01:42 (UTC)] – creado slackwarespanol | es:howtos:software:at [2019/08/27 14:49 (UTC)] – [Removing Queued Tasks] slackwarespanol | ||
---|---|---|---|
Línea 1: | Línea 1: | ||
<!-- Reviewed 2013-10-16 mfillpot --> | <!-- Reviewed 2013-10-16 mfillpot --> | ||
<!-- Add your text below. Start with a Headline (see button bar above). --> | <!-- Add your text below. Start with a Headline (see button bar above). --> | ||
- | ====== at - Task Scheduling | + | <note warning> |
- | **at** | + | ====== at - Programación de tareas |
- | performed on your system. The **batch** | + | ** at ** es una herramienta de programación de tareas que permite al mismo tiempo realizar tareas en su sistema. El ** batch ** es como ** at ** pero realiza las tareas de una sola vez cuando la carga del sistema lo permite, todos los comandos y funciones de ** at ** pueden ser replicados por ** batch ** con los mismos argumentos. |
- | like **at** | + | ===== Comandos relacionados |
- | command and functions of **at** | + | Se incluyen los siguientes comandos para monitorear el comando |
- | arguments. | + | |
- | + | | |
- | ===== Related Commands | + | |
- | The following commands are included to monitor the **at** | + | |
- | * **at** | + | |
- | * **atq** | + | |
. | . | ||
- | | + | * ** atrm **: el programa utilizado para eliminar trabajos de la cola. |
- | + | ===== El uso del comando | |
- | ===== at Command Use ===== | + | El comando |
- | The **at** | + | |
- | point it to a pre-built | + | |
- | allowed increase the complexity. | + | |
- | + | ||
- | The //-m// argument can be added to any command telling the daemon to mail | + | |
- | the user on the local system advising of the completion of the task. | + | |
- | ==== Scheduling an Existing Script | + | El argumento // - m // se puede agregar a cualquier comando que le indique al daemon que envíe un correo al usuario en el sistema local para avisarle de la finalización de la tarea. |
- | This example will tell the **at** | + | ==== Programación de un script existente |
- | /// | + | Este ejemplo le dirá a la aplicación |
- | completion. | + | /// |
< | < | ||
user@darkstar$ at 16:00 -m -f / | user@darkstar$ at 16:00 -m -f / | ||
</ | </ | ||
- | As you can see the // | + | Como puede ver, el argumento |
- | file that will be executed. | + | |
- | ==== Scheduling a New Action | + | ==== Programando una nueva acción |
- | As seen below, when no file is specified the **at** | + | Como se ve a continuación, cuando |
- | prompt for the user to enter the new script. | + | |
< | < | ||
Línea 47: | Línea 35: | ||
</ | </ | ||
- | The user will need to type the sequence of commands that will be issued | + | El usuario deberá escribir la secuencia de comandos que se emitirán dentro de la solicitud; al finalizar, cierre la solicitud con <key> Ctrl </ |
- | within the prompt, upon completion you close the prompt with the | + | |
- | < | + | |
- | The command above instructed | + | El comando anterior le indicó a ** at ** que haga ping a Google |
- | the application status and e-mail the results to the user. | + | |
<note important> | <note important> | ||
- | Be sure to note the job number, it is the only visible | + | Asegúrese de anotar el número de trabajo, es el único identificador |
- | and must be referenced if you wish to remove the job later. | + | |
</ | </ | ||
- | ==== Reviewing Queued Tasks ==== | + | ==== Revisión de tareas en cola ==== |
- | The command | + | El comando |
- | date, hour, queue and username. | + | |
< | < | ||
user@darkstar$ atq | user@darkstar$ atq | ||
Línea 67: | Línea 50: | ||
</ | </ | ||
- | Once the task number has been noted you can review the commands that are | + | Una vez que se haya anotado el número de tarea, puede revisar los comandos que se incluyen en el trabajo emitiendo el comando |
- | included in the job by issuing the command | + | |
< | < | ||
Línea 86: | Línea 68: | ||
</ | </ | ||
- | ==== Removing Queued Tasks ==== | + | ==== Eliminar tareas en cola ==== |
- | The command | + | El comando |
- | any confirmation that the job is removed so it may be advisable to run | + | |
- | **atq** | + | |
< | < | ||
user@darkstar$ atrm 4 | user@darkstar$ atrm 4 |