Re: Will cron runnnnig as a service cause the server to lock up?

2010-08-26 Thread Larry Hall (Cygwin)

On 8/26/2010 12:59 PM, Blaine Miller wrote:

I'm running cron as a service. Twice this week this server has died and needed
cold rebooting to get the system back.

Questions - First, will cron as a service on a Windows 2003 R2, standard
system cause this sort of behavior?


No, that's an O/S issue (kernel or drivers).

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.

Q: Are you sure?

A: Because it reverses the logical flow of conversation.

Q: Why is top posting annoying in email?


--
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



Re: Will cron runnnnig as a service cause the server to lock up?

2010-08-26 Thread Pierre A. Humblet
- Original Message - 
From: Blaine Miller 
To: cygwin
Sent: Thursday, August 26, 2010 12:59


| I'm running cron as a service. Twice this week this server has died and 
| needed cold rebooting to get the system back.
| 
| Questions - First, will cron as a service on a Windows 2003 R2, standard 
| system cause this sort of behavior?

This has never been reported, as far as I know.
You run cron as yourself, if I remember correctly. This avoids various setuid
issues. Except for that, cron is a plain vanilla program. 

| Second, if it does, how do I run cron to keep it from 
| doing this?
| 
| A snippet of the errors I'm getting are:
| 
| cron: unknown option -- D
| usage: /usr/sbin/cron [-n] [-x [ext,sch,proc,pars,load,misc,test,bit]]
| 

Where does the -D come from?
That used to be an option in cron 3. It is now replaced by -n
Without -n, cron will not remain under the control of cygrunsrv.

| My crontable is:
| 
| $ crontab -l
| # DO NOT EDIT THIS FILE - edit the master and reinstall.
| # (/tmp/crontab.yRr11boUdm installed on Thu Aug 19 14:17:23 2010)
| # (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie 
| Exp $)
| 00 05 * * * /cygdrive/c/scripts/xfer_vvm_mysql.sh
| 00 05 * * * /cygdrive/c/scripts/xfer_vvm_ora.sh
| 00 05 * * * /cygdrive/c/scripts/xfer_nab_vnnab.sh
| 00 10 * * * /cygdrive/c/scripts/xfer_nab_csnab.sh
| 00 06 * * * /cygdrive/c/scripts/xfer_dellsrv20.sh
| 00 06 * * * /cygdrive/c/scripts/xfer_directory.sh
| 00 06 * * * /cygdrive/c/scripts/xfer_perforce.sh
| 00 06 * * 2 /cygdrive/c/scripts/xfer_fileserv.sh
| 
| 
| As you can see, I'm not passing any paramets to the cron daemon...

Remember that PATH may not be the same under cron as under 
interactive bash. So find and other tools may use a Windows version.
But that doesn't explain a crash.

Pierre


--
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



Re: Will cron runnnnig as a service cause the server to lock up?

2010-08-26 Thread Blaine Miller

Hello, Larry,

I'm getting this message in the Event Log for cron kicking off...

The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot 
be found. The local computer may not have the necessary registry 
information or message DLL files to display messages from a remote 
computer. You may be able to use the /AUXSOURCE= flag to retrieve this 
description; see Help and Support for details. The following information 
is part of the event: /usr/sbin/cron: PID 2160: (Administrator) CMD 
(/cygdrive/c/scripts/xfer_nab_csnab.sh).


Does it mean anything?

Thanks for your time and assistance...

Blaine


Larry Hall (Cygwin) wrote:

On 8/26/2010 12:59 PM, Blaine Miller wrote:
I'm running cron as a service. Twice this week this server has died 
and needed

cold rebooting to get the system back.

Questions - First, will cron as a service on a Windows 2003 R2, standard
system cause this sort of behavior?


No, that's an O/S issue (kernel or drivers).



--
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



Re: Will cron runnnnig as a service cause the server to lock up?

2010-08-26 Thread Blaine Miller

Larry,

I'm also getting the following message from the crontab in the Event Log

The description for Event ID ( 0 ) in Source ( crontab ) cannot be 
found. The local computer may not have the necessary registry 
information or message DLL files to display messages from a remote 
computer. You may be able to use the /AUXSOURCE= flag to retrieve this 
description; see Help and Support for details. The following information 
is part of the event: crontab: PID 1596: (Administrator) LIST 
(Administrator).


This doesn't make sense to me either...

Blaine


Larry Hall (Cygwin) wrote:

On 8/26/2010 12:59 PM, Blaine Miller wrote:
I'm running cron as a service. Twice this week this server has died 
and needed

cold rebooting to get the system back.

Questions - First, will cron as a service on a Windows 2003 R2, standard
system cause this sort of behavior?


No, that's an O/S issue (kernel or drivers).



--
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



Re: Will cron runnnnig as a service cause the server to lock up?

2010-08-26 Thread Larry Hall (Cygwin)

On 8/26/2010 1:37 PM, Blaine Miller wrote:

Hello, Larry,

I'm getting this message in the Event Log for cron kicking off...

The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. You may be able
to use the /AUXSOURCE= flag to retrieve this description; see Help and
Support for details. The following information is part of the event:
/usr/sbin/cron: PID 2160: (Administrator) CMD
(/cygdrive/c/scripts/xfer_nab_csnab.sh).

Does it mean anything?


That's an informational message only.

_

A: Yes.

Q: Are you sure?

A: Because it reverses the logical flow of conversation.

Q: Why is top posting annoying in email?


--
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



Re: Will cron runnnnig as a service cause the server to lock up?

2010-08-26 Thread Blaine Miller

Larry,

Thanks, that's what I figured.

Thanks for your continued assistance...

Blaine

Larry Hall (Cygwin) wrote:

On 8/26/2010 1:37 PM, Blaine Miller wrote:

Hello, Larry,

I'm getting this message in the Event Log for cron kicking off...

The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) 
cannot be
found. The local computer may not have the necessary registry 
information or
message DLL files to display messages from a remote computer. You may 
be able

to use the /AUXSOURCE= flag to retrieve this description; see Help and
Support for details. The following information is part of the event:
/usr/sbin/cron: PID 2160: (Administrator) CMD
(/cygdrive/c/scripts/xfer_nab_csnab.sh).

Does it mean anything?


That's an informational message only.

_

A: Yes.

Q: Are you sure?

A: Because it reverses the logical flow of conversation.

Q: Why is top posting annoying in email?


--
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






--
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