delorie.com/archives/browse.cgi | search |
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:to:references:from:subject:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=wyCXSb4y4+wNuxYn | |
+sot6d9WRQd0wAnMLPK7cJme3vOOaKHQo78DMb94YF2Qe+Fk/P/90HDC45r41PzU | |
Unzbqeyp0NUYet5AI1zjbbSnGMaxowGNhr6E8vRvidUp+3fZVb6WTafqMISLNQto | |
NzOxIY00kFHhZ5Hx7efDDKcWuHo= | |
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:to:references:from:subject:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=1Qx4zgugURCq7/4opUft3A | |
pQrHM=; b=B0AapVR9BZYGg1EOXIoube/lM2UpmdFBdNcCYzDhStsKT8w/Q41dvz | |
EO/pl+q3d2MsA5/Vqj2zRNfygzAufJIL7Q0RGvvWai5RJ1tcHzXi76VHdPri1Gl/ | |
XhvIsdja6MR9u5OSVb43Q4S2KQd6X0oDkFb/rP6Y55hxQ/gJUOWfw= | |
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-Spam-SWARE-Status: | No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*u:en-US, H*UA:en-US, H*u:5.1, H*UA:0.9 |
X-HELO: | mail-oi1-f172.google.com |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:references:from:openpgp:autocrypt:subject:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Eb7kj3u4oLRF0c1OCavEGvRCgD/OXJylxFDvjfVvp8M=; b=a+ZXGkTLi+AqjvJLMvfUPj1MXnCnp9v/jfcBv06aRbszXohHWLiwmICyf+2QAfGAet MFVyIu13skW7emfhyw+XQLHyIw4noSzFHNHMXQPl2wmkpMz8Ni0FVZca07V6KoonRz+h wSjcd0iS4wYrf1jRJMh6EuNzExULRcZI2XlqLepiak9iexfHC4eETyRlvCusyIaTCR/N OQZ9z0cJcmMs1HYlnytSizR46wZIIO7XmV484fuqRv+2ZPmHUIccC7ZI3zQFuO/YbHe1 fwJ9pxVDjHin/J0jifVxa5chivfacsaaxNEAXOKdKc4OojmmVVqY4nU8TOS2VlBHnD7n ZWSg== |
To: | cygwin AT cygwin DOT com |
References: | <CAA5t8Vq5+4dizayQUDG_=jx_i=ZgCTjo6-q567nhge77eS--CQ AT mail DOT gmail DOT com> <61a6773b-5fe9-62e0-78ec-7684ee0d04b0 AT SystematicSw DOT ab DOT ca> <CAA5t8VpPvvt3c+CZHpSVrj_XAdJrTVCfq6Wd0mSBKhZpqv8Csg AT mail DOT gmail DOT com> <74357359-436a-0ead-f7bc-b288572d6cc3 AT SystematicSw DOT ab DOT ca> <CAA5t8Vqi0R07WV5W_o_uhLbhkr2B0RU=UfjGEOh9ps4aeSE+WA AT mail DOT gmail DOT com> <CAA5t8Vpc=wGAap-K-J-qxn54_1EXPKgUdO2mvo1w8V5mKjm1ZA AT mail DOT gmail DOT com> |
From: | =?UTF-8?Q?Ren=c3=a9_Berber?= <rene DOT berber AT gmail DOT com> |
Openpgp: | preference=signencrypt |
Subject: | Re: How to start and verify cron? |
Message-ID: | <4fe0eeb8-9de0-4c13-0d76-38a802247edd@gmail.com> |
Date: | Thu, 11 Jul 2019 17:57:05 -0500 |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <CAA5t8Vpc=wGAap-K-J-qxn54_1EXPKgUdO2mvo1w8V5mKjm1ZA@mail.gmail.com> |
On 7/11/2019 4:20 PM, David Karr wrote: >>>> How do I add service dependencies to start up in a particular order? >>> >>> In an elevated cmd or bash shell: >>> elevated > OR # sc config syslog-ng depend= cygserver >>> elevated > OR # sc config cron depend= syslog-ng/cygserver >>> N.B. the "=" is part of each keyword; multiple service dependencies are >>> separated by "/". >> > After doing all of this, I still can't get cron jobs to work, and I can't > get any info on why. Doing all of "that" doesn't change a running cron daemon; those only afect the initial run after boot up. > This is the current output from "crontab -l": ... > I've tried editing that last one and changing the minutes to include > upcoming minutes, and then after those minutes, I check the results, and > there are none. Nothing in cron.log or syslog-ng.log. Editing in this context means running 'crontab -e' (which uses vi to edit the user's cron table). After exiting that (with ZZ to save & exit, or :wq) cron sends a message to the log, which, by the way may need to be configured (i.e. syslog-ng has its own configuration, an in there may be a line that says where cron's log goes, or if it is ignored). Restarting the daemon should also produce a line in the log, which is another notification that it is working. In Linux I even have set the cron daemon's log level to show the start of all cron jobs; that parameter in Cygwin would go as optional parameter in the installation as service ("-L 1" in the cygrunsrv line of the installation script, or maybe running cygrunsrv again, visible and editable in the "Start parameters" at the service Properties view). -- R.Berber -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |