FW: cron.daily excutions not logged
Vladimir Barac <[email protected]> Sun, 23 Dec 2012 17:27:38 +0300
| Newsgroups | gmane.linux.suse.oracle.general |
|---|---|
| Message-ID | <[email protected]> |
--_004_C85D70C785B07043A485C8AE85E8F6712645125949ALGMBAlghanim_ Content-Type: multipart/alternative; boundary="_000_C85D70C785B07043A485C8AE85E8F6712645125949ALGMBAlghanim_" --_000_C85D70C785B07043A485C8AE85E8F6712645125949ALGMBAlghanim_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject should have cron.hourly instead of cron.daily From: [email protected] [mailto:suse-sles-e-bounces@list= x.novell.com] On Behalf Of Vladimir Barac Sent: Sunday, December 23, 2012 5:25 PM To: [email protected] Subject: [suse-sles-e] cron.daily excutions not logged Hello, listers Been playing with Suse a bit, and found something strange / interesting... = I want to see execution history for scripts in /etc/cron.hourly, but there = are no entries in /var/log/messages. Other cron jobs (owner by root or others) are logged. Scripts in /etc/cron.hourly are executed - that is not an issue. To test th= is, I have created simple script like "date >> /tmp/date.txt" and I can see= that it is really running hourly. However, no entries in /var/log/messages= . So, what is the trick? Where are cron.hourly runs logged? Regards, Vladimir Barac ______________________________________________________________________ This e-mail message and any attachments to it are for the sole use of the i= ntended recipients and may contain confidential and privileged information.= This e-mail message and any attachments are the property of Yusuf A. Algha= nim & Sons w.l.l. or any of its subsidiaries or affiliates ("Alghanim Indus= tries"). Any unauthorized review, use, disclosure, or distribution of this = e-mail message or its attachments is prohibited. Any opinions expressed in = this message are those of the author and do not necessarily reflect the opi= nion of Alghanim Industries. If you are not an intended recipient, please n= otify the sender by reply e-mail and destroy all copies of the original mes= sage and any attachments. ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the External Email Security System. ______________________________________________________________________ --_000_C85D70C785B07043A485C8AE85E8F6712645125949ALGMBAlghanim_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-mic= rosoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word= " xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"ht= tp://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV=3D"Content-Type" CON= TENT=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"M= icrosoft Word 12 (filtered medium)"><style><!-- /* Font Definitions */ @font-face =09{font-family:"Cambria Math"; =09panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face =09{font-family:Calibri; =09panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face =09{font-family:Tahoma; =09panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal =09{margin:0in; =09margin-bottom:.0001pt; =09font-size:11.0pt; =09font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink =09{mso-style-priority:99; =09color:blue; =09text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed =09{mso-style-priority:99; =09color:purple; =09text-decoration:underline;} span.EmailStyle17 =09{mso-style-type:personal; =09font-family:"Calibri","sans-serif"; =09color:windowtext;} span.EmailStyle18 =09{mso-style-type:personal-reply; =09font-family:"Calibri","sans-serif"; =09color:#1F497D;} .MsoChpDefault =09{mso-style-type:export-only; =09font-size:10.0pt;} @page WordSection1 =09{size:8.5in 11.0in; =09margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 =09{page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vl= ink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span style=3D= 'color:#1F497D'>Subject should have cron.hourly instead of cron.daily<o:p>= </o:p></span></p><p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&= nbsp;</o:p></span></p><div><div style=3D'border:none;border-top:solid #B5C= 4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span style=3D= 'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span= style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> suse-sles-e= [email protected] [mailto:[email protected]] <b= >On Behalf Of </b>Vladimir Barac<br><b>Sent:</b> Sunday, December 23, 2012= 5:25 PM<br><b>To:</b> [email protected]<br><b>Subject:</b> [su= se-sles-e] cron.daily excutions not logged<o:p></o:p></span></p></div></di= v><p class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Hello, li= sters<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p class=3DM= soNormal>Been playing with Suse a bit, and found something strange / inter= esting… I want to see execution history for scripts in /etc/cron.hou= rly, but there are no entries in /var/log/messages.<o:p></o:p></p><p class= =3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Other cron jobs (ow= ner by root or others) are logged.<o:p></o:p></p><p class=3DMsoNormal><o:p= > </o:p></p><p class=3DMsoNormal>Scripts in /etc/cron.hourly are exec= uted – that is not an issue. To test this, I have created simple scr= ipt like "date >> /tmp/date.txt" and I can see that it is = really running hourly. However, no entries in /var/log/messages.<o:p></o:p= ></p><p class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>So, wh= at is the trick? Where are cron.hourly runs logged?<o:p></o:p></p><p class= =3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Regards,<o:p></o:p>= </p><p class=3DMsoNormal>Vladimir Barac<o:p></o:p></p><p class=3DMsoNormal= ><o:p> </o:p></p><p class=3DMsoNormal><span style=3D'font-size:12.0pt= ;font-family:"Times New Roman","serif"'><br>______________________________= ________________________________________<br>This e-mail message and any at= tachments to it are for the sole use of the intended recipients and may co= ntain confidential and privileged information. This e-mail message and any= attachments are the property of Yusuf A. Alghanim & Sons w.l.l. or an= y of its subsidiaries or affiliates (“Alghanim Industries”). A= ny unauthorized review, use, disclosure, or distribution of this e-mail me= ssage or its attachments is prohibited. Any opinions expressed in this mes= sage are those of the author and do not necessarily reflect the opinion of= Alghanim Industries. If you are not an intended recipient, please notify = the sender by reply e-mail and destroy all copies of the original message = and any attachments.<br>__________________________________________________= ____________________<br><br>______________________________________________= ________________________<br>This email has been scanned by the External Em= ail Security System.<br>__________________________________________________= ____________________<o:p></o:p></span></p></div><br clear=3D"both"> ______________________________________________________________________<BR>= This e-mail message and any attachments to it are for the sole use of the = intended recipients and may contain confidential and privileged informatio= n. This e-mail message and any attachments are the property of Yusuf A. A= lghanim & Sons w.l.l. or any of its subsidiaries or affiliates (“A= lghanim Industries”). Any unauthorized review, use, disclosure, o= r distribution of this e-mail message or its attachments is prohibited. A= ny opinions expressed in this message are those of the author and do not n= ecessarily reflect the opinion of Alghanim Industries. If you are not an = intended recipient, please notify the sender by reply e-mail and destroy a= ll copies of the original message and any attachments.<BR> ______________________________________________________________________<BR>= </body></html> --_000_C85D70C785B07043A485C8AE85E8F6712645125949ALGMBAlghanim_-- --_004_C85D70C785B07043A485C8AE85E8F6712645125949ALGMBAlghanim_ Content-Type: text/plain; name="ATT00001..txt" Content-Description: ATT00001..txt Content-Disposition: attachment; filename="ATT00001..txt"; size=159; creation-date="Sun, 23 Dec 2012 17:25:10 GMT"; modification-date="Sun, 23 Dec 2012 17:25:10 GMT" Content-Transfer-Encoding: base64 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCnN1c2Utc2xl cy1lIG1haWxpbmcgbGlzdA0Kc3VzZS1zbGVzLWVAbGlzdHgubm92ZWxsLmNvbQ0KaHR0cDovL2xp c3R4Lm5vdmVsbC5jb20vbWFpbG1hbi9saXN0aW5mby9zdXNlLXNsZXMtZQ0K --_004_C85D70C785B07043A485C8AE85E8F6712645125949ALGMBAlghanim_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ suse-sles-e mailing list [email protected] http://listx.novell.com/mailman/listinfo/suse-sles-e --_004_C85D70C785B07043A485C8AE85E8F6712645125949ALGMBAlghanim_--