Dados das tarefas (ttaad5500m000)

Use this session to view the job data, which you can maintain and display in the Job Data (ttaad5100s000) session.

From this session, you can start the Sessões por tarefa (ttaad5501m000) session to view or maintain the settings of the sessions linked to the job.

You can also use the Dados das tarefas (ttaad5500m000) session to start the job.

How you start the job depends on the job’s status:

  • If the job’s status is Free, you can start the job in the following ways:
    • Use the Ativar tarefa (ttaad5203m000) session. You can start this session from the Visualizações, Referências o Ações menu in the Dados das tarefas (ttaad5500m000) session.
    • Use the rc.startjob shell command (UNIX platform)
    • Use the startjob.bat batch file (Windows platform)
  • If you want the LN Job Daemon to start the job, you must change the job’s status to In Queue. Before you set the status to In Queue, make sure that all sessions have been added to the job (at least one session must be in the job). If the Job Daemon is already running, the job will be active as soon as the job status changes to In Queue and the record is saved.
Nota

To change the job status to In Queue, click Tarefa de fila on the Visualizações, Referências o Ações menu.

For more information about job statuses, refer to Job Status.

With the commands on the Visualizações, Referências o Ações menu, you can start sessions to do the following:

  • View or maintain the settings of the sessions linked to a job
  • Activate a job
  • Put the job in a queue
  • Block a job
  • Cancel a job
  • Release a job

 

Tarefa
The job identification code.
Usuário
The LN user ID of the person who created the job.
Periódico
If this check box is selected, the job is periodical: the job is started or restarted periodically at a date and time defined in the job calendar or by a regular interval.
Suspenso
Indicates whether the periodical job must be executed automatically after last execution. After execution of a periodical job, the next execution date is automatically updated according to the given period and/or calendar date.

If this check box is selected,, the job is suspended until the next execution date. For jobs started by the Ativar tarefa (ttaad5203m000) session, the UNIX shell program rc.startjob, or the Windows batch file startjob.bat, the job’s status is set to Waiting. The job is automatically restarted at every next execution date that is defined in the calendar or by the interval.

If this check box is cleared, the job runs once and is then stopped. For jobs started by the Ativar tarefa (ttaad5203m000) session, the UNIX shell program rc.startjob, or the Windows batch file startjob.bat, the job’s status is set to Free. To restart the job, you must manually start the Ativar tarefa (ttaad5203m000) session, the UNIX shell program rc.startjob, or the Windows batch file startjob.bat.

Nota

You can use the Dados das tarefas (ttaad5100s000) session to select or clear this check box.

Usar programação externa
If this check box is selected, an external job scheduler, such as Maestro from UNISON, or an external program, for example, a UNIX crontab starts the job. Therefore, in that case, the calendar/time schedule in the job data is ignored.
Nova execução
The date/time of the next execution of the job. If the job is periodical, this field shows the next date of the calendar or the date corresponding to the given period, after executing the job.
Nota

You can specify the dates and times for a calendar in the Datas por calendário (ttaad5107m000) session.

Data da última execução
The date on which the job was last executed.
Status
Displays the status of the job.

For details, refer to Job Status.