This is the mail archive of the 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: cron allowed to interact with desktop ?

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,
> Corinna


FYI, you can use the acronym as the anchor, e.g.,

Also, please thoughtfully consider the attached patch for cygrunsrv... ;-)
2003-05-08  Igor Pechtchanski  <>

	* (set_service_controls_accepted) Add an
	interactive_process parameter.
	* crit.h: (set_service_controls_accepted) Ditto.
	* (longopts, opts) Add an "--interactive"
	(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.
	* (PARAM_INTERACT) New registry key.
	* utils.h: (reason_t) Add InteractiveNotAllowed and
	OnlyOneInteractive values.
	* (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"

      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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:
Problem reports:

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