delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/07/28/16:20:36

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=w8YgOOv/G2YzbyNxUgR2Y72ImKwI
HMy/konO+9neJIm9T4eXYOaCSy5VruI59bjs5XWx/o4hvNAMJGRj+cvyYcVwSRB3
ZT+GNSev4F22wAdNRStBzPmpUiqm4fgcPpO/2/Zyo+N8VxiMkTY+X9mDXo0r3cz2
MgUOmBIz1p8Siuo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=D9uXeDCLywskSn+kVbSEZKSVUps=; b=ew
ir9SVzv1V5gYBIYLjLj1y7EkRoXwt6GoZ8VNp49eGkIDlWHVX5SS0/LsEjKLoqh1
Z9/nlz21pNLQ9NczXoKFq80nBvqTnVJrBZ+hJGUxYl4uxmVA5bjErkjZ8kuz58wz
Hv91uTthuvBBFTcCv9+qzhLtek+C5OreqSMxZGaX0=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=sverdrup, Sverdrup, psverdrupyahoocom, U*psverdrup
X-HELO: etr-usa.com
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
Subject: Re: Can a .sh script stored in c:\scripts\ (Windows part of filesystem) be run from crontab?
From: Warren Young <wyml AT etr-usa DOT com>
In-Reply-To: <1862051364.5309945.1469633495642.JavaMail.yahoo@mail.yahoo.com>
Date: Thu, 28 Jul 2016 14:20:15 -0600
Message-Id: <EC49B0EA-A1D0-4029-9AA0-0E302F7AD163@etr-usa.com>
References: <1862051364 DOT 5309945 DOT 1469633495642 DOT JavaMail DOT yahoo DOT ref AT mail DOT yahoo DOT com> <1862051364 DOT 5309945 DOT 1469633495642 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u6SKKXc5002789

On Jul 27, 2016, at 9:31 AM, Peder Sverdrup <psverdrup AT yahoo DOT com> wrote:
> 
> When I open the cygwin terminal I can run the script manually. But if I include it in my crontab, it does not run.

Append something like “ > /bup.log 2>&1 “ to the end of your crontab lines and examine the output.  That will probably clue you into the problem; if not, post the output here.


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


- Raw text -


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