delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/21/14:14:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <358590.30056.qm@web30804.mail.mud.yahoo.com>
Date: Wed, 21 Oct 2009 11:14:18 -0700 (PDT)
From: "Larry W. Virden" <lvirden AT yahoo DOT com>
Subject: Cygwin 1.7 crontab question
To: cygwin AT cygwin DOT com
In-Reply-To: <430796.30005.qm@web30808.mail.mud.yahoo.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

I now have access to a Cygwin 1.7 installation. I've been trying things out and I am having a spot of trouble that I hope someone can help me through.

I created a crontab file. In it, I want to run a program from my $HOME/bin directory.

However, I don't know what environment variables the crontab entries will have. Will crontab know what "$HOME/bin/myscript.bash" is? When the time passed for my script to run, I don't see any indication that it happened. I looked in /var/log to see if there was any sort of logging of problems in crontab, but I don't see anything relevant. /var/log/messages is empty (as is /var/log/wtmp). I don't see any logs in /var/cron/tabs/ , and I don't see any relevant info in the crontab man page. In the cron man page there is a reference to using syslog if cron was built appropriately. I don't know any more about syslog, however, because there's no syslog man page.


      

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