delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/11/16/15:50:39

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 304B13857801
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=berkeley.edu
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=carrier AT berkeley DOT edu
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=berkeley-edu.20150623.gappssmtp.com; s=20150623;
h=from:date:to:cc:subject:message-id:references:mime-version
:content-disposition:in-reply-to:user-agent;
bh=MWDOlep/69Uhow0+B5gyqV/u23tHysRxJ7htJiD3reE=;
b=Zv8v/LUPoNfB/zeFEgTFxfzQiEBlc2oqZa2kg1uEcXA7pR3a9fJm7uxRnotUoundKl
Z9IrP4KwVW5Uwd4vJsQ3VySdUCN7ORLIAEgmVAiB6q42MpntascnzTfnLMFBeaumWEeV
zQ6oF6rjFZW8q3vJdxyTMDAqIAKP4M5T23IkYa2Zln0JElRA97f7tP5bvQEwi0Q7Q0UI
JojtUjloNrsrQeLue6khawUPysUrxw57laCWcZ7lxTh/4RMMJYt8zNucFWJiv+MybrGy
5t/wyP4LV5ZU2fg6ZbSf92DV7rDDe8hBuCM9psl2BLPzi+MBQrwjPR08U1OCXrAfQM4h
qs5w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:date:to:cc:subject:message-id:references
:mime-version:content-disposition:in-reply-to:user-agent;
bh=MWDOlep/69Uhow0+B5gyqV/u23tHysRxJ7htJiD3reE=;
b=OXCDH9tGsRfUeBqlmGHkg6mRAEK0pAP8rdJfMfjwuZFoH55ypHm9vjbyX6rmVgcaYq
re2UJ6VmUpekf1DZKdML25kbcusAOLm169k06BjejPsn3cjG/S6F6zvWcmmgSzPRtbIT
27x1IQNDIvpJl6+ljGbzzCmQwjWUbTkwESd+Ybb8KykUZH976bP3hthwKIEUywpu3vnC
n/4E4Z81SivjuGzPJbdnwZOmCg5iKxcppdwiBB870ATIbpDrXxssxXJ3cZC+cOPrueNl
XedQtyKPvMg8Isq2Oc80dv4RJMueSSLCuQ9Ap3YKGxJi2W/A9ZonEqeMVFJbtAPdLJ/v
tfmA==
X-Gm-Message-State: AOAM533LrR2pMiUkCiKgB8eHHhyD1JC7vke9PYgIZw1m2HmZfhtaU4gm
80soG5VE2Kh6fyBS7tkjjYSrerQUPw+RUw==
X-Google-Smtp-Source: ABdhPJwJhimOvXMueiMGUePuYsu/gqeiTC695wSdff8tQI62GWz+iwK/a1CB95iA5DWJQ2ueLQvQHw==
X-Received: by 2002:a17:90a:b782:: with SMTP id
m2mr770605pjr.185.1605559789777;
Mon, 16 Nov 2020 12:49:49 -0800 (PST)
From: Stephen Carrier <carrier AT berkeley DOT edu>
X-Google-Original-From: Stephen Carrier <carrier AT Berkeley DOT EDU>
Date: Mon, 16 Nov 2020 12:49:48 -0800
To: Keith Christian <keith1christian AT gmail DOT com>
Subject: Re: CRON executes CRONTABS only when run from terminal as
"/usr/sbin/cron &"
Message-ID: <20201116204948.GB16928@iguana.crashland.org>
References: <CAFWoy7F4Kjv_KSLhBCGaCuMzztLnZr+9GVKedHv7C=RvuwWtMQ AT mail DOT gmail DOT com>
<20201116204433 DOT GA16928 AT iguana DOT crashland DOT org>
MIME-Version: 1.0
In-Reply-To: <20201116204433.GA16928@iguana.crashland.org>
User-Agent: Mutt/1.12.2 (2019-09-21)
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Cc: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Mon, Nov 16, 2020 at 12:44:33PM -0800, Stephen Carrier wrote:
> On Sun, Nov 15, 2020 at 02:03:28PM -0700, Keith Christian via Cygwin wrote:
> > Cygwin people,
> > 
> > Running with this version of Cygwin.
> > CYGWIN_NT-10.0 DESKTOP-ASERVER 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 Cygwin
> > 
> > Windows info:
> > $ /lib/csih/winProductName.exeMicrosoft Windows 10 Professional,
> > 64-bit (build 18363)
> > 
> > I installed using cron-config, and created the cyg_server user.cron
> > starts OK, but does not appear to execute the crontabs.
> > No messages or errors  in /var/log/cron.log.
> > 
> > $ cygrunsrv -Q cron
> > Service             : cron
> > Display name        : Cron daemon
> > Current State       : Running
> > Controls Accepted   : Stop
> > Command             : /usr/sbin/cron -n
> 
> What's the output of "cygrunsrv -V -Q cron"?
> 
> What are the file permissions on /var/log/cron.log? ("ls -l
> /var/log/cron.log").  The uid running cron needs write permission there.
> 
> I run cron from the Local System account, which can setuid to other users.
> I don't know the circumstances where one should still use a non-SYSTEM
> account with Windows 10, but they aren't mine and I recommend running
> as SYSTEM if possible.
> 
> Stephen

I have also found the output of "cronevents" helpful.
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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