delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/21/21:00:47

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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=Jd+
cRdI34g9mJEGn5tolez27npk1gbkcMFR3AOsotD1yIOSXuxyiafhokJJiJKA+GbT
2LnMsUJetH5quGQ5MeCGFAw8FG3KDJlC9fCjMJzy/suUR7EKbXEzgmraA5g1sM5T
6NaD7pytawTxD5Q1lPHZQvjs6/us7aCRkgaTp468=
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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=pOmwLscnU
48bSoaSV3tPhgADwDg=; b=eVh8k0VeITltc6m5aSCs6DEgV2n/V7mqKA4+kRhN0
6JHcFdK2c9PAKekM9IUT8DRoGD+vsZTB/uJP8XK/utKcCUK4roLdAvXCEpElLrhn
ywyV3BMK77o597h/cL05FzGQvFMxBuIa4Kl2WziSS5WM5jaHF/1cTtNOeWpS8aHa
Qw=
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=2.0 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,RDNS_NONE autolearn=no version=3.3.2
X-HELO: nbfkord-smmo07.seg.att.com
X-MXL-Hash: 523e412f7d953406-92943d6c95cd46e93fcaedc814320d80a56f5dfe
From: "KARR, DAVID" <dk068x AT att DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Confused about several issues with setting up cron
Date: Sun, 22 Sep 2013 01:00:02 +0000
Message-ID: <B8D164BED956C5439875951895CB4B2211449DC8@WABOTH9MSGUSR8C.ITServices.sbc.com>
MIME-Version: 1.0
X-RSA-Inspected: yes
X-RSA-Classifications: public
X-Spam: [F=0.2000000000; CM=0.500; S=0.200(2010122901)]
X-MAIL-FROM: <dk068x AT att DOT com>
X-AnalysisOut: [v=2.0 cv=O8iOSmBW c=1 sm=0 a=srMsL6ituuWTYeky9Bs9mA==:17 a]
X-AnalysisOut: [=YnP4VLJI-BoA:10 a=t29AYNv2XsYA:10 a=ofMgfj31e3cA:10 a=BLc]
X-AnalysisOut: [eEmwcHowA:10 a=kj9zAlcOel0A:10 a=zQP7CpKOAAAA:8 a=XIqpo32R]
X-AnalysisOut: [AAAA:8 a=nx8KtvE8eYIA:10 a=Josljel-_wa_L-zCcOcA:9 a=CjuIK1]
X-AnalysisOut: [q_8ugA:10]
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r8M10jiZ013578

CYGWIN_NT-6.1 1.7.25(0.270/5/3) 2013-08-31 20:39 i686 Cygwin

I want to set up a cron job, so I have to get cron configured.  I'm trying to follow the instructions I can find, but I'm seeing several issues.

I'm surprised that there's nothing in the user guide or the FAQ about setting up cron.  I had to settle for the various questions about this on StackOverflow and others.

I must have done something at least half correct, because I believe this tells me that cron is running:

% cygrunsrv -L
cron

% cronevents
2013/09/20 21:14:06 [dk068x] crontab: PID 5924: (dk068x) LIST (dk068x)
2013/09/21 11:28:15 [dk068x] /usr/sbin/cron: PID 4980: (CRON) STARTUP (V5.0)
2013/09/21 11:28:16 [dk068x] cron: PID 8424: `cron' service started

However, I then do "crontab <pathtomycrontabfile>", where "pathtomycrontabfile" is the path to my crontab file with the job I want to run.  I then do "crontab -l" and it prints nothing.  There is nothing in "/var/log/cron*".

I did get some errors when I ran "cron-config", but I unfortunately lost that output.


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