O Solaris / Illumos possui um daemon para tarefas ou gerencia internamente?

1

Eu agendei um teste at job e revisei com atq , mas não vejo um daemon atd que os executará.

Isso é gerenciado dentro do kernal do Solaris / Illumos? Se não, qual daemon gerencia at jobs?

Estou realmente surpreso em não encontrar atd , porque já existe um daemon para cron .

    
por George Bailey 17.12.2015 / 23:41

1 resposta

5

De acordo com a página do manual de cron no Solaris 10:

NAME

cron - clock daemon

SYNOPSIS

/usr/sbin/cron

DESCRIPTION

cron starts a process that executes commands at specified dates and times.

You can specify regularly scheduled commands to cron according to instructions found in crontab files in the directory /var/spool/cron/crontabs. Users can submit their own crontab file using the crontab(1) command. Commands which are to be executed only once can be submitted using the at(1) command.

cron only examines crontab or at command files during its own process initialization phase and when the crontab or at command is run. This reduces the overhead of checking for new or changed files at regularly scheduled intervals.

As cron never exits, it should be executed only once. This is done routinely by way of the svc:/system/cron:default service. The file /etc/cron.d/FIFO file is used as a lock file to prevent the execution of more than one instance of cron.

cron captures the output of the job's stdout and stderr streams, and, if it is not empty, mails the output to the user. If the job does not produce output, no mail is sent to the user. An exception is if the job is an at(1) job and the -m option was specified when the job was submitted.

cron and at jobs are not executed if your account is locked. Jobs and processses execute. The shadow(4) file defines which accounts are not locked and will have their jobs and processes executed.

Portanto, não há atd no Solaris, tarefas únicas são tratadas pelo daemon cron também.

    
por 18.12.2015 / 00:17