Start, Stop and Restart Crond Daemon in Linux Start, stop e restart Crond Demone in 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 posti di lavoro in Linux e le sue varianti come ad esempio FreeBSD o CentOS che comunemente utilizzati su web host a causa di popolarità di cPanel server web pannello di controllo del sistema, è importante l'ora e le operazioni pianificate per l'esecuzione di comandi di varie funzioni come ad esempio la rotazione dei log, gli aggiornamenti di controllo, sistema manutenzione, pulizia del file system, backup, il servizio e riavviare ecc

Cron jobs are managed by a daemon named crond . Cron posti di lavoro sono gestiti da un demone chiamato crond. When cron schedules are added, deleted or modified by crontab, any changes are enacted by the crond daemon. Quando cron orari sono aggiunti, eliminati o modificati da crontab, tutte le modifiche entrino in vigore entro il demone 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 demone viene eseguito costantemente in background e controlli una volta al minuto per vedere se uno dei posti di lavoro in programma devono essere eseguiti. If any, crond will execute the commands. Se del caso, crond eseguirà i comandi. If crond process is not running, no cron jobs will be executed. Se crond processo non è in esecuzione, non cron posti di lavoro verrà eseguito.

Thus, it’s important to ensure that crond daemon is running and not hanged in the system. Pertanto, è importante per garantire che crond demone è in esecuzione e non impiccato nel sistema. To manage crond daemon in Linux, we can make use of “service” command. Per gestire demone crond di Linux, siamo in grado di fare uso di "servizio".

To check the status of crond daemon: Per controllare lo stato del demone crond:

service crond status servizio crond status

To stop and terminate crond process: Per interrompere e porre fine crond processo:

service crond stop servizio crond stop

To start and run crond daemon: Per avviare ed eseguire demone crond:

service crond start servizio crond start

To restart crond service: Per riavviare il servizio crond:

service crond restart riavviare il servizio crond

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una pagina tradotta macchina che è fornito "così com'è" senza alcuna garanzia. Machine translation may be difficult to understand. Traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale inglese whenever possible. quando possibile.

Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e assistenza in My Digital Life Forums La mia vita digitale Forum .



2 Responses to “Start, Stop and Restart Crond Daemon in Linux” 2 risposte a "start, stop e restart Crond Demone in Linux"

  1. cPanel Update (upcp) Is Already Running Problem » My Digital Life cPanel Update (upcp) è già in esecuzione Problema »Il mio Digital Life
    December 6th, 2007 00:05 6 dicembre 2007 00:05
    1

    [...] killing crond process, you will have to start crond daemon again, else all cron jobs won’t run. [...] Uccisione crond processo, sarà necessario avviare di nuovo demone crond, altrimenti tutti gli cron posti di lavoro non verranno pubblicati. Get help or contribute tips or tricks at My Digital Life [...] Ricevere aiuto o contribuire suggerimenti o trucchi a mio Digital Life [...]

  2. SivaramaKrishnan
    July 3rd, 2008 13:04 3 luglio 2008 13:04
    2

    I have cron daemon running and I added an entry using crontab -e command. Ho demone cron esegue e ho aggiunto una voce utilizzando crontab-e comando. When the exact time reached, the script that is specified is the crontab did not get executed. Quando il tempo esatto raggiunto, lo script viene specificato che è il crontab non ha eseguito.

    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. Ma, se mi riavviare il demone cron (utilizzando il comando / etc / init.d / crond riavviare il computer) dopo aver aggiunto la voce di cron (utilizzando crontab-e comando), poi lo script viene eseguito presso l'intervallo di tempo specificato.

    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 ho guardato la pagina man di crond, essi hanno chiaramente detto che, non è necessario riavviare ogni demone cron cron voci sono aggiornato. 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. Non sono sicuro se ho bisogno per avviare il demone cron, con parametri specifici in modo che non ha bisogno di essere riavviato ogni volta aggiornare le voci di cron.

    Any help is appreciated. Qualsiasi aiuto è apprezzato.
    Thanks & Regards Grazie & Cordiali saluti
    - Siva -- Siva

Leave a Reply Lasciare una risposta

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> È possibile utilizzare questi tag: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Iscriviti senza commentare


Custom Search

New Articles Nuovi articoli

Incoming Search Terms for the Article Cerca in arrivo Condizioni per l'articolo

restart crond riavviare crond - -- linux crond Linux crond - -- restart cron riavviare Cron - -- restarting crond riavviare crond - -- crond crond - -- freebsd restart cron FreeBSD riavviare Cron - -- crond restart crond riavviare - -- crond start crond start - -- restart crontab riavviare crontab - -- start crond crond start - -- how to restart crond Come riavviare crond - -- service crond restart riavviare il servizio crond - -- EM Daemon is not running EM Daemon non è in esecuzione - -- crond linux crond Linux - -- crond daemon demone crond - -- how to start cron daemon come avviare demone cron - -- restart cron freebsd Cron riavviare FreeBSD - -- centos crond CentOS crond - -- crond stop crond stop - -- crontab daemon crontab demone - -- start cron daemon avviare demone cron - -- crond process crond processo - -- restart cron deamon Cron riavviare deamon - -- linux restart Linux riavviare - -- centos restart cron CentOS riavviare Cron - -- all tutto - -- restart cron daemon linux riavviare demone cron Linux - -- stop cron daemon fermata demone cron - -- restart daemon riavviare demone - -- stop crond crond stop - -- crond+process + crond processo - -- how to restart cron Come riavviare Cron - -- start cron linux Cron avviare Linux - -- restart cron daemon riavviare demone cron - -- cron restart Cron riavviare - -- linux start stop Linux iniziare fermata - -- starting crond a partire crond - -- how to stop crond come fermare crond - -- restart cron centos Cron riavviare CentOS - -- daemon linux demone Linux - -- restart a daemon riavviare un demone - -- crond centos crond CentOS - -- crond status crond status - -- deamon linux deamon Linux - -- restarting cron daemon riavvio demone cron - -- How to start cron Come iniziare Cron - -- restart stopped process in linux riavviare smesso di processo in Linux - -- restart daemon linux riavviare demone Linux - -- how to start crond come avviare crond - -- Restarting cron jobs in linux Cron riavviare posti di lavoro in Linux - --