delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/16/12:15:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: Yes, hits=5.2 required=5.0 tests=AWL,BAYES_40,BOTNET,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
MIME-version: 1.0
Message-id: <019101ca36e8$cad48b80$ed0410ac@wirelessworld.airvananet.com>
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
To: <cygwin AT cygwin DOT com>
References: <4AB098F2 DOT 2080408 AT dide-a-ath DOT att DOT sch DOT gr>
Subject: Re: cron
Date: Wed, 16 Sep 2009 12:14:38 -0400
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
Note-from-DJ: This may be spam

----- Original Message ----- 
From: "Μηχανογράφηση ΔΔΕ Α΄ Αθήνας" <mix AT dide-a-ath DOT att DOT sch DOT gr>
To: <cygwin>
Sent: Wednesday, September 16, 2009 3:51


| Cron installs as service without problems but does not run jobs. Same
| thing happens when it is installed without the '-D' argument (so that
| Windows does not monitor the service).


The job does get run !
2009/09/15 14:00:01 [SYSTEM] /usr/sbin/cron: PID 1568: (Administrator) CMD (/usr/bin/echo "abc"
 > /tmp/d)

I assume you don't see /tmp/d
Is there a cron.log file in the Administrator HOME or some cron related files in /tmp?
They may contain error messages.

Note also that the -D switch is obsolete (although still supported in the Cygwin port).
usage:  /usr/sbin/cron [-n] [-x [ext,sch,proc,pars,load,misc,test,bit]]

Pierre


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