| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=0.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_LOW,SARE_FROM_CONS6S |
| X-Spam-Check-By: | sourceware.org |
| MIME-Version: | 1.0 |
| Date: | Fri, 23 Mar 2012 23:53:33 +0800 |
| Message-ID: | <CAJg5x_Z-fMYbV5rO_7S7OJf_NJifL05ijbRodcXw7Dg_NUud0Q@mail.gmail.com> |
| Subject: | syslogd is logging but cron jobs |
| From: | =?UTF-8?B?5paf6YWM6bWs5YWE?= <tgckpg AT gmail DOT com> |
| To: | Cygwin <cygwin AT cygwin DOT com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hi,
I found that syslogd is not logging cron jobs after a computer restart:
These are working cron jobs that had been successfully logged
(before restart):
Mar 23 22:55:01 Penguin-PC /usr/sbin/cron: PID 7432: (Penguin) CMD ...
Mar 23 23:00:01 Penguin-PC /usr/sbin/cron: PID 5204: (Penguin) CMD ...
Mar 23 23:05:01 Penguin-PC /usr/sbin/cron: PID 8328: (Penguin) CMD ...
Mar 23 23:10:02 Penguin-PC /usr/sbin/cron: PID 8476: (Penguin) CMD ...
After a restart:
Mar 23 23:13:04 Penguin-PC syslogd (GNU inetutils 1.7): restart
Things are gone:
Mar 23 23:26:46 Penguin-PC crontab: PID 5928: (Penguin) BEGIN EDIT (Penguin)
Mar 23 23:27:41 Penguin-PC crontab: PID 5928: (Penguin) REPLACE (Penguin)
Mar 23 23:27:41 Penguin-PC crontab: PID 5928: (Penguin) END EDIT (Penguin)
<End of File>
And I'd tested to ensure cron is running properly:
I'd created a 5/min job logging to file:
LastRun: Fri Mar 23 23:30:01 CST 2012
LastRun: Fri Mar 23 23:35:01 CST 2012
LastRun: Fri Mar 23 23:40:01 CST 2012
LastRun: Fri Mar 23 23:45:01 CST 2012
LastRun: Fri Mar 23 23:50:02 CST 2012
Any ideas that why syslogd is not logging cron jobs, and how do I fix it?
--
Regards,
Panguin
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |