Como as partes de execução receberam seu nome?

2

Eu entendo o que as partes de execução fazem, mas eu gostaria de saber por que o programa é chamado de partes de execução. Eu nunca ouvi alguém chamar um executável em um diretório de uma parte. Por que o autor o nomeia de partes executadas e quais são as partes?

    
por ldrg 28.08.2018 / 03:23

2 respostas

1

Ian Jackson escreveu de volta:

I probably named it. I'm not sure why the etymology is not obvious. It runs various parts.

E um acompanhamento sobre por que ele poderia ter usado a palavra "partes":

They're just parts of the task to be run.

    
por 06.11.2018 / 20:35
0

Como por man 4 run-parts

Historically the crontab file contained configuration which called run-parts on files in cron.{daily,weekly,monthly} directories.

Crontabs is a historical name for the run-parts script and the system crontab. The run-parts script runs all executables in the specified directory. Run-parts runs all executables in the specified directory. The execution of files can be allowed or denied by creating file jobs.allow or jobs.deny which worked similar as other allow/deny config files. The file must be created in the specified directory.

De o que é run-parts em / etc / crontab, e como usá-lo

It will run every script that is found in a directory. For example, if you do a listing of /etc/cron.hourly, you'll see that it's a directory where you can put executable files to be run every hour.

Então, o que podemos ver é que run-parts é um script criado para a conveniência de executar tarefas de crontab em arquivos em um diretório, e as partes são cada script individual.

    
por 28.08.2018 / 04:00

Tags