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/