Start, Stop and Restart Crond Daemon in Linux Zagnati, zaustaviti in znova zagnati Crond Daemon v 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 delovnih mest v Linux in njenih variant, kot so FreeBSD ali CentOS, ki se običajno uporablja na spletni gostitelji zaradi priljubljenosti spletnega strežnika cPanel nadzorni plošči sistema, je pomemben čas, ki temelji rednih nalog in ukazov, ki opravljajo različne funkcije, kot so log rotation posodobitve preverjanje, sistem vzdrževanje, datotečni sistem čiščenja, backup, in znova zaženite storitve itd
Cron jobs are managed by a daemon named crond . Cron delovna mesta, ki jih upravlja daemon imenom crond. When cron schedules are added, deleted or modified by crontab, any changes are enacted by the crond daemon. Ko Cron seznamih so dodani, zbrisani ali prirejena, ki jih crontab, vse spremembe, ki so jih sprejele crond daemon. 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 teče nenehno v ozadju in preglede enkrat na minuto, da vidim, če kateri koli od rednih delovnih mest je treba izvršiti. If any, crond will execute the commands. Če obstaja, bo crond izvršitev ukazov. If crond process is not running, no cron jobs will be executed. Če crond procesu se ne izvaja nobena Cron delovnih mest se bodo izvajale.
Thus, it's important to ensure that crond daemon is running and not hanged in the system. Zato je pomembno zagotoviti, da crond daemon je zagnan in ne visiš v sistemu. To manage crond daemon in Linux, we can make use of “service” command. Če želite upravljati crond daemon v Linux, lahko uporabi "storitev" command.
To check the status of crond daemon: Če želite preveriti stanje crond daemon:
service crond status storitev crond statusa
To stop and terminate crond process: Naj se ustavi in prekine proces crond:
service crond stop storitev crond stop
To start and run crond daemon: Če želite začeti in voditi crond daemon:
service crond start storitev crond začetek
To restart crond service: Če želite znova crond storitev:
service crond restart storitev crond znova
IMPORTANT : The page is machine translated and provided "as is" without warranty. POMEMBNO: Ta stran je stroj prevod in če "kot je" brez garancije. Machine translation may be difficult to understand. Strojno prevajanje je lahko težko razumeti. Please refer to Prosimo, da original English article original English članek whenever possible. kadar je to mogoče.
Related Articles Sorodni članki
- How to Restart (Stop or Start) cPanel Service (cpsrvd) via Telnet or SSH Kako Znova (Ustavi ali Start) cPanel Service (cpsrvd) preko Telnet ali SSH
- Auto Shutdown and Restart Apache HTTPD Service Daemon at Preset Time Samodejna zaustavitev in Restart Apache httpd Service Daemon na predodređenog časa
- How to Disable Linux and Unix Cron Jobs (Crontab) Email Sending Kako Onemogoči Linux in Unix Cron Jobs (Crontab) E-pošta Pošiljanje
- How to Terminate or Stop and Restart Explorer.exe Shell in Windows XP and Vista Cleanly and Gracefully Without Reboot PC Kako, da odpove ali Ustavi in Znova Explorer.exe Shell v operacijskem sistemu Windows XP in Vista lepo in Gracefully Brez Reboot PC
- Fix Hotspot Shield Bandwidth Exceeded, TCP Connect Wait, Auth Failure or Daemon Start Error Popravi Hotspot Shield bandwidth presežena, TCP Connect Počakaj, Auth Neizvršitev ali Daemon Start Napaka
- cPanel Unable or Cannot Start or Restart POP3 Mail Service cPanel ni mogoče ali ni mogoče začeti ali Znova POP3 Mail Service
- cPanel Update (upcp) Is Already Running Problem cPanel Update (upcp) se že izvaja Problem
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux Odpri, Extract and convert DAA, ISO in Bin Datoteke v Linux s Zastonj PowerISO za Linux
- Resume or Restart Windows Vista Indexing Service After Pausing Resume ali Znova zaženite operacijski sistem Windows Vista Indeksiranje Service Po Pauziranje
- USB Safely Remove 4.0 Free License Code for One-Click Stop, Remount, Real Device Name and Fix Cannot Stop Error USB Varno odstranite 4,0 Free License Koda za One-Stop Kliknite, konj, Real Device Name in Fix Can't Stop Napaka










































July 3rd, 2008 13:04 3. julij 2008 13:04
I have cron daemon running and I added an entry using crontab -e command. Imam Cron daemon teče in sem doda vpis uporabi crontab-e ukaz. When the exact time reached, the script that is specified is the crontab did not get executed. Kadar je točen čas dosegel, ali je skript, ki je določen je crontab ni dobil izvršena.
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. Ampak, če sem znova Cron daemon (uporabi ukaz / etc / init.d / crond znova) po dodatku Cron vnosa (z uporabo crontab-e ukaz), potem se dobi skripta izvršena v določenem času.
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. Ko sem pogledal na moški strani crond, so jasno navedena, da se ne zahteva, da ponovno Cron daemon vsakič je Cron vnosi so posodobljeni. 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. Nisem prepričan, ali moram začeti Cron daemon s posebnimi parametri, tako da ni potrebe, da se ponovno zažene vsakič, ko sem posodobite Cron vpisov.
Any help is appreciated. Vsaka pomoč je uvaževati.
Thanks & Regards Thanks & Regards
- Siva - Siva
December 6th, 2007 00:05 6. december 2007 00:05
[...] killing crond process, you will have to start crond daemon again, else all cron jobs won't run. [...] Pokončanja crond procesa, boste morali začeti znova crond daemon, ostalo vse Cron delovna mesta ne bodo izvajali. Get help or contribute tips or tricks at My Digital Life [...] Ustrezna pomoč ali prispevajo nasvete ali zvijače v Moje digitalno življenje [...]