Start, Stop and Restart Crond Daemon in Linux Iniciar, parar e reiniciar Crond Daemon no Linux
Cron jobs in Linux and its variants such as FreeBSD or CentOS which commonly used on web hosts due to popularity of cPanel web server control panel system, is important time based scheduled tasks and commands that perform various functions such as log rotation, updates checking, system maintenance, file system cleaning, backup, service restart and etc. Cron postos de trabalho em Linux e suas variantes, tais como FreeBSD ou CentOS que comumente usada em web hosts devido à popularidade do cPanel painel de controle do sistema de servidor web, é importante hora programada com base tarefas e comandos que executar diversas funções, como a rápida rotação, verificando atualizações, sistema manutenção, limpeza do sistema de arquivos de backup, de serviço e reinicie etc
Cron jobs are managed by a daemon named crond . Cron postos de trabalho são geridas por um demónio chamado crond. When cron schedules are added, deleted or modified by crontab, any changes are enacted by the crond daemon. Quando cron horários são acrescentados, suprimidos ou modificados pelo crontab, as eventuais alterações sejam aprovadas pelo daemon crond. Crond daemon runs constantly in the background and checks once a minute to see if any of the scheduled jobs need to be executed. Crond daemon corre constantemente em segundo plano e verifica depois de um minuto para ver se algum dos empregos regulares precisam de ser executada. If any, crond will execute the commands. Se houver, crond irá executar os comandos. If crond process is not running, no cron jobs will be executed. Se crond processo não está funcionando, não empregos cron será executado.
Thus, it’s important to ensure that crond daemon is running and not hanged in the system. Assim, é importante assegurar que o daemon crond está funcionando e não enforcado no sistema. To manage crond daemon in Linux, we can make use of “service” command. Para gerir daemon crond no Linux, podemos fazer uso de "serviço" comando.
To check the status of crond daemon: Para verificar o status do daemon crond:
service crond status serviço crond status
To stop and terminate crond process: Para parar e encerrar processo crond:
service crond stop serviço crond parar
To start and run crond daemon: Para começar a correr e daemon crond:
service crond start Serviço de começar crond
To restart crond service: Para reiniciar crond serviço:
service crond restart serviço crond restart
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Esta é uma página traduzida máquina que é fornecida "como está" sem garantia. Machine translation may be difficult to understand. A tradução automática pode ser difícil de compreender. Please refer to Por favor, consulte a original English article Inglês original article whenever possible. sempre que possível.
Share and contribute or get technical support and help at Compartilhe e contribuir ou obter suporte técnico e ajudar a My Digital Life Forums Minha vida digital Fóruns .
Related Articles Artigos relacionados
- cPanel Update (upcp) Is Already Running Problem cPanel Update (upcp) já está em execução Problema
- Auto Shutdown and Restart Apache HTTPD Service Daemon at Preset Time Auto shutdown e reiniciar o Apache httpd serviço daemon a hora predefinida
- Change and Reset MySQL root Password Mudança e Reset MySQL raiz Senha
- Stop 0×0000007B Inaccessable_Boot_Device Error After Enable AHCI Mode on SATA Drive in Vista Parar 0 × 0000007B Inaccessable_Boot_Device Erro Após Ativar Modo AHCI com SATA Drive, em Vista
- Restart or Shutdown Windows (XP, 2000 and Vista) from Command Line or One-Click Shortcut Reiniciar ou Encerrar o Windows (XP, 2000 e Vista) partir da linha de comando ou One-Click Atalho
- cPanel Unable or Cannot Start or Restart POP3 Mail Service cPanel Impossível ou não pode iniciar ou reiniciar POP3 Mail Service
- Running Google Earth on Suse Linux with VMware Correndo o Google Earth em Suse Linux com VMware
- Mandriva Linux 2008 Available for Downloading Mandriva Linux 2008 Disponível para Download
- Fix Hotspot Shield Bandwidth Exceeded, TCP Connect Wait, Auth Failure or Daemon Start Error Fix hotspot escudo banda ultrapassado, TCP Connect esperar, auth falha ou erro daemon Start
- Reset the Root Password of MySQL Server Redefinir a senha do root do servidor MySQL



















December 6th, 2007 00:05 6 de dezembro de 2007 00:05
[...] killing crond process, you will have to start crond daemon again, else all cron jobs won’t run. [...] Matando crond processo, terá que iniciar novamente daemon crond, senão todos os empregos cron não serão publicados. Get help or contribute tips or tricks at My Digital Life [...] Obtenha ajuda ou contribuir dicas ou truques em Minha Vida Digital [...]
July 3rd, 2008 13:04 3 de julho de 2008 13:04
I have cron daemon running and I added an entry using crontab -e command. Tenho cron daemon rodando e acrescentei uma entrada usando o comando crontab-e. When the exact time reached, the script that is specified is the crontab did not get executed. Quando chegou a hora exacta, é especificado que o script é o crontab não são executadas.
But, if I restart the cron daemon (using the command /etc/init.d/crond restart) after adding the cron entry (using crontab -e command), then the script gets executed at the specified time. Mas, se eu reiniciar o daemon cron (usando o comando / etc / init.d / crond restart) depois de adicionar a entrada cron (usando o comando crontab-e), então o script é executada no horário especificado.
When I looked at the man page of crond, they have clearly mentioned that, it is not required to restart cron daemon everytime the cron entries are updated. Quando eu li a página man do crond, eles têm claramente referiu que, não é obrigado a reiniciar o cron daemon cron cadastros são sempre atualizados. Am not sure whether I need to start the cron daemon with specific parameters so that it does not need to be restarted every time I update the cron entries. Não estou certo se eu preciso para iniciar o daemon cron com parâmetros específicos para que ele não precisa ser reiniciado cada vez que eu atualizar as entradas cron.
Any help is appreciated. Qualquer ajuda é apreciada.
Thanks & Regards Thanks & Regards
- Siva -- Siva