How to Disable Linux and Unix Cron Jobs (Crontab) Email Sending איך השבת Linux ו-Unix Cron Jobs (crontab) שליחת דוא"ל
Cron jobs in Unix, Linux, Solar, BSD or other Unix-like operating system is similar to scheduled tasks in Windows OS. עבודות Cron ב יוניקס, לינוקס, שמש, BSD או יוניקס אחרות כמו מערכת הפעלה דומה משימות מתוזמנות ב-Windows OS. 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 משימות (aka עבודות cron) לפעול באופן אוטומטי ברקע או במרווחי זמן קבועים מראש ועל זמן קבוע מראש על ידי cron daemon. 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 משימות או מוגדרים crontab (שולחן cron) קובץ, אשר מכיל את לוח הזמנים שצוין פעמים את הערכים של cron להפעלה.
When an cron job runs, cron daemon will send an email to the user account that executing the cronjob. כאשר עבודה cron רץ, השד cron ישלח דוא"ל חשבון המשתמש להורג cronjob. The notification or result mail messages normally contains output result or respond of the task or command executed by the cron job. ההודעה או הודעות דואר התוצאה בדרך כלל מכיל התוצאה להגיב או פלט של משימה או פקודה שמבצעת העבודה cron.
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. מנהל או schedulers cron עבודות מי לא רוצה לקבל דוא"ל בכל עבודות 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, רק להוסיף את הפקודה הבאה כדי בסוף השורה את העבודה ב cron crontab. Each cron job that does not need email sending will have to be added. כל עבודה cron שאין צורך לשלוח דוא"ל צריך יהיה נוסף.
> /dev/null 2>&1
For example, לדוגמה,
30 8 * * * command > /dev/null 2>&1 30 8 * * * הפקודה> / dev / null 2> & 1
Tip: To edit cron jobs, type “crontab -e” in most system. עצה: כדי לערוך עבודות cron, הקלד "crontab-E" ביותר במערכת.
Restart cron jobs deamon הפעל מחדש את עבודות 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 Database אוטומטית עם crontab / Cron
- How to Send an Email (Mail Message) from Linux Command Line Shell איך לשלוח לו הודעת דוא"ל (הודעת דואר) מ לינוקס מעטפת שורת הפקודה
- How to Calculate and Generate MD5 Hash Value in Linux and Unix with md5sum כיצד לחשב וליצור MD5 Hash ערך Linux ו-Unix עם md5sum
- How to Mount USB Disk Drive in UNIX or Linux כיצד הר USB Disk Drive ב-UNIX או לינוקס
- Start, Stop and Restart Crond Daemon in Linux התחל, עצור הפעל מחדש Crond שדים ב-Linux
- Refresh Linux or Unix Path Environmental Variables with rehash רענון לינוקס או יוניקס הנתיב rehash עם משתני הסביבה
- Change Group Ownership of Symbolic Links in Unix or Linux שינוי הבעלות על הקבוצה סמלי קישורים יוניקס או לינוקס
- How to Make or Create Symbolic Link in Unix or Linux כיצד להרוויח או יצירת קישור סימבולי יוניקס או לינוקס
- Delay Sending of Email Message in Microsoft Outlook (Supports Gmail, Hotmail, Yahoo, AOL and all POP3/IMAP Mail) עיכוב של שליחת הודעת דואר אלקטרוני ב-Microsoft Outlook (Supports Gmail, Hotmail, Yahoo, AOL ו כל דואר POP3/IMAP)
- Download Free gAttach! GAttach הורד חינם! to Set Gmail as Default Email Program for Fast Files Sending הגדר Gmail כמו ברירת מחדל עבור תוכנית דוא"ל שליחת קבצים מהירה









































