From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21460 invoked by alias); 21 May 2004 14:43:53 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 21341 invoked from network); 21 May 2004 14:43:49 -0000 Received: from unknown (HELO sosrv34.lax9.maint.ops.us.uu.net) (206.64.118.152) by sourceware.org with SMTP; 21 May 2004 14:43:49 -0000 Received: from ex02.idirect.net (ex02.dmz.idirect.net [208.226.76.48]) by sosrv34.lax9.maint.ops.us.uu.net (uu-smart-$Revision: 1.4 $) with ESMTP id i4LEhbV2013599; Fri, 21 May 2004 14:43:38 GMT content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Problem running runmqsc from cron Date: Fri, 21 May 2004 15:11:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Harig, Mark" To: "Mike Kenny - BCX - Mngd Services" , X-IsSubscribed: yes X-SW-Source: 2004-05/txt/msg00729.txt.bz2 > -----Original Message----- > From: Mike Kenny (email address deleted) > Sent: Friday, May 21, 2004 5:15 AM > To: cygwin > Subject: Problem running runmqsc from cron > >=20 > I have written a number of scripts to monitor queue depth and=20 > channel status on my MQ server. These work fine from the=20 > command line, but when I try to execute them from cron the=20 > sciripts are executed, but the runmqsc command reports that=20 > it can't connect to the queue manager. Has anybody come=20 > across this or similar problems? If so how were they=20 > resolved? (I hace searched the archives, but can find no=20 > reference to this type of problem) >=20 You might try examining your environment variables: * * * * * /usr/bin/env > /tmp/env.txt The environment variable settings that are set by default within cron is a limited set. For more information, see "man 5 crontab". -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/