public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cron results in COLD BOOT
@ 2001-09-05  9:56 Soukup, Kevin (IL50)
  2001-09-05 10:08 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 2+ messages in thread
From: Soukup, Kevin (IL50) @ 2001-09-05  9:56 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Greetings All,

I have to COLD BOOT my NT workstation whenever cron executes by shell
script.

I've checked the FAQ, the user guides and the documentation and I've
searched the mail archive relentlessly. I've tried variations of the scripts
and configurations of cron with no luck. I hope I've satisfied the
expectation that try to figure this out on my own. 

I am stumped.

I'm running CygWin on an NT 4.0 sp5 Intel workstation. I've installed the
cron service as follows:

cygrunsrv -I cron -p /usr/sbin/cron.exe -a -D -e "CYGWIN=tty ntsec"

The cron job is installed as follows:
30 10 * * * /home/kdsoukup/cadlib_admin/crontest/bart_nightly >>
/home/kdsoukup/cadlib_admin/crontest/bart_nightly.log

The cron service runs. Cron starts my script as desired. When I run the cron
command line on a bash command line, it executes everything great. When cron
attempts to start the same job, it gets through most of the script but locks
up just about everything up on my workstation. The command set never
completes and the only way out of it is to COLD BOOT the workstation. There
are a total of about 4 sh.exe processes running by the time I have to
reboot.

Any suggestions would be greatly appreciated. If you'd like to see the
script I'm executing (calls executables, cat, sed, awk, blah, blah, blah)
please reply directly and I'll provide it to you.

Thanks much and best regards,


Kevin Soukup                         Sensing and Control
CAD/CAM Engineer                   11 W. Spring St
Oracle DBA                                Freeport, IL 61032
                                                   (815) 235-6944 Office
                                                   (815) 235-5959 Fax
 
kevin.soukup@honeywell.com



	                                                  Honeywell
	Kevin Soukup                         Sensing and Control
	CAD/CAM Engineer                   11 W. Spring St
	Oracle DBA                                Freeport, IL 61032
	                                                   (815) 235-6944
Office
	                                                   (815) 235-5959
Fax
	
kevin.soukup@honeywell.com



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cron results in COLD BOOT
  2001-09-05  9:56 cron results in COLD BOOT Soukup, Kevin (IL50)
@ 2001-09-05 10:08 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 0 replies; 2+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-09-05 10:08 UTC (permalink / raw)
  To: Soukup, Kevin (IL50), 'cygwin@cygwin.com'

At 01:03 PM 9/5/2001, Soukup, Kevin (IL50) wrote:
>Greetings All,
>
>I have to COLD BOOT my NT workstation whenever cron executes by shell
>script.
>
>I've checked the FAQ, the user guides and the documentation and I've
>searched the mail archive relentlessly. I've tried variations of the scripts
>and configurations of cron with no luck. I hope I've satisfied the
>expectation that try to figure this out on my own. 
>
>I am stumped.
>
>I'm running CygWin on an NT 4.0 sp5 Intel workstation. I've installed the
>cron service as follows:
>
>cygrunsrv -I cron -p /usr/sbin/cron.exe -a -D -e "CYGWIN=tty ntsec"
>
>The cron job is installed as follows:
>30 10 * * * /home/kdsoukup/cadlib_admin/crontest/bart_nightly >>
>/home/kdsoukup/cadlib_admin/crontest/bart_nightly.log
>
>The cron service runs. Cron starts my script as desired. When I run the cron
>command line on a bash command line, it executes everything great. When cron
>attempts to start the same job, it gets through most of the script but locks
>up just about everything up on my workstation. The command set never
>completes and the only way out of it is to COLD BOOT the workstation. There
>are a total of about 4 sh.exe processes running by the time I have to
>reboot.
>
>Any suggestions would be greatly appreciated. If you'd like to see the
>script I'm executing (calls executables, cat, sed, awk, blah, blah, blah)
>please reply directly and I'll provide it to you.
>
>Thanks much and best regards,
>
>
>Kevin Soukup                         Sensing and Control
>CAD/CAM Engineer                   11 W. Spring St
>Oracle DBA                                Freeport, IL 61032
>                                                    (815) 235-6944 Office
>                                                    (815) 235-5959 Fax



Typically, the cron cases where "it works fine if I run it myself but 
doesn't through cron" signals a difference in environment.  Have you 
checked this?  Cron, at least as "delivered", does not run things as 
the user you use interactively.  Check the README documentation for more
details if you haven't already.



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-05 10:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-05  9:56 cron results in COLD BOOT Soukup, Kevin (IL50)
2001-09-05 10:08 ` Larry Hall (RFK Partners, Inc)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).