delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/21/10:45:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: Problem running runmqsc from cron
Date: Fri, 21 May 2004 10:43:37 -0400
Message-ID: <BADF3C947A1BD54FBA75C70C241B0B9E014598B5@ex02.co.idirect.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Harig, Mark" <maharig AT idirect DOT net>
To: "Mike Kenny - BCX - Mngd Services" <Mike DOT Kenny AT bcx DOT co DOT za>,
<cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i4LEjbwD016473


> -----Original Message-----
> From: Mike Kenny (email address deleted)
> Sent: Friday, May 21, 2004 5:15 AM
> To: cygwin
> Subject: Problem running runmqsc from cron
>
> 
> I have written a number of scripts to monitor queue depth and 
> channel status on my MQ server. These work fine from the 
> command line, but when I try to execute them from cron the 
> sciripts are executed, but the runmqsc command reports that 
> it can't connect to the queue manager. Has anybody come 
> across this or similar problems? If so how were they 
> resolved? (I hace searched the archives, but can find no 
> reference to this type of problem)
> 

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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019