delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/04/20/08:32:11

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 83D4A3858C3A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1713616330;
bh=LcLthjNV2F/fnJ/et7TxxJEAerxZrmh4RDFyOaqE2ok=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=CUu2QWXt0JsYrPGxq7azqRkMQFISvgnpZGtjWZ5yOzAriqEIqHSEEN496ynBlYm2e
ZXVVA3qv7XLa1h1isOr8ju871zch79jUAcTZHQlDBQkfVBaLX0866fH0xkgQO5jY2F
DuvupWd2MIUrzE+HMfWM9bNq/2F3RYVakcrEmgQ4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C71D93858D37
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C71D93858D37
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713616311; cv=none;
b=ujsMAH/wgh6Mj/3uy6N1Pw1QpoWQCq6FRtqDTs1EuFGImvvhdN/IDeM3eBB5UPTc/qAb1sJCvyG5e8w0KTyungZQ7fA9YJigha2ma81FFCtXlTwcan3PKzrRNq2qcBjR7ZhiVRlxG0jxUtohqL4+xCoRdGNenD4osJZhsam6UgI=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1713616311; c=relaxed/simple;
bh=RKI/Os3rdPYloCJGbMjaA5Cy1zcBdU+oa4pvV0WKrWs=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=gFv/gKNkFFPX+0pJQxUCjF70+/rc71T4iPLG166ROqllPeHX+KfwnuZ0Va6uCwvNQF3ev83RPkKWn5eLoyVxA+ZSOFdamLqibHl5VLf6btzDplPXOTLJBKYl2RbQWlGiu88RnnnMoBaHwbKq1gNSoCX8N4HPzFAQagWaTNHXGhQ=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-ASG-Debug-ID: 1713616308-24039d23e955e3f0001-w5GHUG
X-Barracuda-Envelope-From: moss AT cs DOT umass DOT edu
X-Barracuda-RBL-Trusted-Forwarder: 128.119.240.136
X-Barracuda-RBL-Trusted-Forwarder: 172.27.237.107
Message-ID: <b3bf6422-0259-28d7-26a4-f0149c1371e9@cs.umass.edu>
Date: Sat, 20 Apr 2024 08:31:48 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Subject: Re: cygrunsrv: trailing command line arguyments not allowed
X-ASG-Orig-Subj: Re: cygrunsrv: trailing command line arguyments not allowed
To: enrique AT perezterron DOT net, cygwin AT cygwin DOT com
References: <402bcd5955c3f4ec870e565ab14688dd AT perezterron DOT net>
In-Reply-To: <402bcd5955c3f4ec870e565ab14688dd@perezterron.net>
X-Barracuda-Connect: mailsrv.cs.umass.edu[128.119.240.136]
X-Barracuda-Start-Time: 1713616308
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://barramail.cs.umass.edu:443/cgi-mod/mark.cgi
X-Barracuda-BRTS-Status: 1
X-Virus-Scanned: by bsmtpd at cs.umass.edu
X-Barracuda-Scan-Msg-Size: 838
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0
QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.123768
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, JMQ_SPF_NEUTRAL, NICE_REPLY_A, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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>
From: Eliot Moss via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Eliot Moss <moss AT cs DOT umass DOT edu>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 4/20/2024 8:12 AM, enrique--- via Cygwin wrote:
> Hello,
> 
> I am trying to install a service manually in an attempt to understand why cron-config did not work for me.
> 
> So, I did this:
> 
>> $ net stop cron
>> Tjenesten Cron daemon stopper .
>> Tjenesten Cron daemon ble stoppet.
>>
>> $ cygrunsrv -R cron
>>
>> $ cygrunsrv -I -p /usr/sbin/cron.exe -a -n
>> cygrunsrv: Trailing commandline arguments not allowed
>> Try `cygrunsrv --help' for more information.
> 
> I also tried a number of other combinations and orders of arguments, all with similar results.
> 
> What am I doing wrong?
> 
> Thanks

I would try --args '-n' instead of -a -n.  Perhaps some other
variation of quoting will be needed to make clear to cygrunsrv
that the -n is for the application, not for cygrunsrv.

Best - Eliot Moss


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