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] |
On Thu, 8 May 2003, Corinna Vinschen wrote: > On Thu, May 08, 2003 at 11:10:07AM +0200, a12 wrote: > > Hi gurus, > > > > Default install instruction for cron is: > > cygrunsrv -I cron -p /usr/sbin/cron -a -D > > > > As I want cron to execute Windows applications (i.e. AutoIT), > > I have set in Windows Administrative Tools -> Services -> cron, > > Allow service to interact with desktop > > > > Is there an appriopriate paramter for cygrunsrv that will do > > it ? > > cygrunsrv --help and /usr/doc/Cygwin/cygrunsrv.README both show, the > answer is "no". > > PTC (see http://cygwin.com/acronyms/), > Corinna Corinna, FYI, you can use the acronym as the anchor, e.g., http://cygwin.com/acronyms/#PTC Also, please thoughtfully consider the attached patch for cygrunsrv... ;-) Igor ============================================================================== 2003-05-08 Igor Pechtchanski <pechtcha@cs.nyu.edu> * crit.cc: (set_service_controls_accepted) Add an interactive_process parameter. * crit.h: (set_service_controls_accepted) Ditto. * cygrunsrv.cc: (longopts, opts) Add an "--interactive" option. (interactive) New global variable. (install_registry_keys) Add an interactive parameter. (get_reg_entries) Add an interactive_p parameter. (install_service) Add an interactive parameter. (service_main) Pass the interactive flag to get_reg_entries and set_service_controls_accepted. (main) Process the "--interactive" flag. * cygrunsrv.cc: (PARAM_INTERACT) New registry key. * utils.h: (reason_t) Add InteractiveNotAllowed and OnlyOneInteractive values. * utils.cc: (reason_list) Add description strings for the InteractiveNotAllowed and OnlyOneInteractive values. (usage) Add description of the "--interactive" option. * cygrunsrv.README: Add description of the "--interactive" option. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Knowledge is an unending adventure at the edge of uncertainty. -- Leto II
Attachment:
cygrunsrv-interactive-flag.patch
Description: Text document
-- 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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |