This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Strange Crond behavior


I believe the root cause is that the CYGWIN environment variable needs 
to be set to include NTSEC.

The instructions in /usr/doc/Cygwin/cron.README include this command:
 cygrunsrv -I cron -p /usr/sbin/cron -a -D
That will not always work

A command that works better is:
cygrunsrv -I cron -d "Cron" -p /usr/sbin/cron -a "-D" -e "CYGWIN=binmode 
ntsec tty"

or, alternatively, you can set the CYGWIN environment variable another way.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]