How to Disable Linux and Unix Cron Jobs (Crontab) Email Sending अक्षम Linux और यूनिक्स Cron नौकरियाँ (Crontab) ईमेल भेजने के लिए कैसे
Cron jobs in Unix, Linux, Solar, BSD or other Unix-like operating system is similar to scheduled tasks in Windows OS. Unix, Linux, सौर, बीएसडी या अन्य यूनिक्स में Cron नौकरियों-ऑपरेटिंग सिस्टम की तरह विंडोज़ ओएस में निर्धारित कार्यों के समान है. Cron utility allows tasks (aka cron jobs) to be automatically run in the background at regular intervals or preset and predetermined time by the cron daemon. Cron उपयोगिता कार्य (उर्फ cron नौकरियों की अनुमति देता है) को स्वचालित रूप से cron डेमॉन द्वारा समय नियमित अंतराल या पूर्व निर्धारित और पूर्व निर्धारित में पृष्ठभूमि में चला जाएगा. All cron jobs or tasks are defined in crontab (cron table) file, which contains the schedule and specified times of the cron entries to be run. सभी cron नौकरी या कार्य (cron तालिका) फ़ाइल है, जो समय और cron प्रविष्टियों का निर्दिष्ट समय होता है crontab में परिभाषित को चलाने के हो रहे हैं.
When an cron job runs, cron daemon will send an email to the user account that executing the cronjob. जब एक क्रॉन जॉब रन, cron डेमॉन उपयोगकर्ता खाते है कि cronjob क्रियान्वित करने के लिए एक ईमेल भेज देंगे. The notification or result mail messages normally contains output result or respond of the task or command executed by the cron job. अधिसूचना या परिणाम मेल संदेशों को आम तौर पर उत्पादन परिणाम होते हैं या काम या क्रॉन जॉब द्वारा निष्पादित आदेश के जवाब.
Administrator or cron jobs schedulers who do not want to receive any email every time cron jobs are run can easily turn off and disable the email sending by crontab. प्रशासक या cron नौकरियों schedulers के लिए किसी भी ईमेल हर बार cron नौकरियां आसानी से बंद कर सकते हैं और निष्क्रिय crontab द्वारा ईमेल भेजने चला रहे हैं, जो प्राप्त नहीं करना चाहती. To disable email delivery on execution of cron jobs, just append the following command to the end of the cron job line in crontab. Cron नौकरियों के निष्पादन पर अक्षम ईमेल वितरण करने के लिए, बस crontab में क्रॉन जॉब पंक्ति के अंत में निम्न कमांड संलग्न. Each cron job that does not need email sending will have to be added. एक क्रॉन जॉब कि होगा ईमेल भेजने की जरूरत नहीं है जोड़ा जाएगा.
> /dev/null 2>&1
For example, उदाहरण के लिए,
30 8 * * * command > /dev/null 2>&1 30 * 8 * *> / dev / बातिल 2 कमांड> & 1
Tip: To edit cron jobs, type “crontab -e” in most system. सुझाव: cron नौकरियां प्रकार 'crontab-ई सबसे व्यवस्था में' संपादित करें.
Restart cron jobs deamon Restart cron नौकरियों deamon when done. जब किया.
IMPORTANT : The page is machine translated and provided "as is" without warranty. महत्वपूर्ण: पृष्ठ की मशीन है और अनुवाद प्रदान "के रूप में वारंटी के बिना है." Machine translation may be difficult to understand. मशीन अनुवाद मुश्किल से समझ सकते हो. Please refer to कृपया उल्लेख करने original English article मूल अंग्रेजी लेख whenever possible. जब भी संभव है.
Related Articles संबंधित लेख
- Check and Optimize MySQL Database Automatically with Crontab/Cron जाँच करें और अनुकूलन MySQL Crontab के साथ स्वत: डाटाबेस / Cron
- How to Send an Email (Mail Message) from Linux Command Line Shell कैसे Linux कमांड लाइन शैल से एक ईमेल (मेल संदेश) को भेजें
- How to Calculate and Generate MD5 Hash Value in Linux and Unix with md5sum Linux और यूनिक्स में md5sum के साथ गणना और उत्पन्न एमडी 5 हैश वैल्यू के लिए कैसे
- How to Mount USB Disk Drive in UNIX or Linux यूनिक्स या Linux में माउंट USB डिस्क ड्राइव को कैसे
- Start, Stop and Restart Crond Daemon in Linux शुरू करो, बंद करो और Restart Crond डेमन लिनक्स में
- Refresh Linux or Unix Path Environmental Variables with rehash ताज़ा Linux या यूनिक्स पथ पर्यावरण चर के साथ मिला देना
- Change Group Ownership of Symbolic Links in Unix or Linux बदलें समूह यूनिक्स या Linux में सिंबालिकलिंक्स का स्वामित्व
- How to Make or Create Symbolic Link in Unix or Linux कैसे या करने के यूनिक्स या Linux में सिंबॉलिकलिंक बनाएँ
- Delay Sending of Email Message in Microsoft Outlook (Supports Gmail, Hotmail, Yahoo, AOL and all POP3/IMAP Mail) देरी Microsoft Outlook में ईमेल संदेश में भेजा जा रहा है (समर्थन करता है जीमेल, हॉटमेल, याहू, एओएल और सभी POP3/IMAP मेल)
- Download Free gAttach! नि: शुल्क डाउनलोड gAttach! to Set Gmail as Default Email Program for Fast Files Sending तेजी से फ़ाइलें भेजने के लिए डिफ़ॉल्ट ईमेल प्रोग्राम के रूप में सेट करें जीमेल









































