From: Eliot Moss <moss@cs.umass.edu>
To: enrique@perezterron.net, cygwin@cygwin.com
Subject: Re: cygrunsrv: trailing command line arguyments not allowed
Date: Sat, 20 Apr 2024 08:31:48 -0400 [thread overview]
Message-ID: <b3bf6422-0259-28d7-26a4-f0149c1371e9@cs.umass.edu> (raw)
In-Reply-To: <402bcd5955c3f4ec870e565ab14688dd@perezterron.net>
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
next prev parent reply other threads:[~2024-04-20 12:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-20 12:12 enrique
2024-04-20 12:31 ` Eliot Moss [this message]
2024-04-20 14:56 ` cygrunsrv: trailing command line arguments " Brian Inglis
2024-04-20 16:05 ` cygrunsrv: trailing command line arguyments " enrique
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b3bf6422-0259-28d7-26a4-f0149c1371e9@cs.umass.edu \
--to=moss@cs.umass.edu \
--cc=cygwin@cygwin.com \
--cc=enrique@perezterron.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).