'cron' fails to stop

René Berber r.berber@computer.org
Sun Apr 2 05:16:00 GMT 2006


Jerry D. Hedden wrote:
>> Jerry D. Hedden wrote:
>>> I have installed 'cron' as a service using the following:
>>>     cygrunsrv -I cron -d "CYGWIN cron" -p /usr/sbin/cron -a -D -e
>>> "CYGWIN=server ntsec tty" -i
> 
> René Berber replied:
>> First mistake, you should have read /usr/share/doc/Cygwin/cron.README and,
>> following those instructions, used cron-config.
> 
> Interesting clue.  'cron-config' installs 'cron' without the -i flag. 
> However, I need the -i flag for some of my cron jobs.
> If I install cron without -i, it stops using:  cygrunsrv -E cron
> If I install cron with -i, it fails to stop.  Why won't it stop if -i is
> present?

OK, I missed that too.

I don't know why cygrunsrv can't stop it, perhaps needs --termsig set, like the
postgresql example.
-- 
René Berber


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list