This is the mail archive of the cygwin 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]

Hiding console when running Cygwin utility from Task Scheduler.


I prepared backup task in Bash script and added task to run it in Windows Task
Scheduler:

  Executable: c:\opt\cygwin\bin\bash.exe
  Params: c:\home\backup\backup-job.bash

Each time job run I see console screen. 'procmon' shown that it is::

  \??\C:\Windows\system32\conhost.exe 0xffffffff -ForceV1

Seems each Cygwin utility brings console into foreground. I also tested with:

  c:\opt\cygwin\bin\yes.exe

How can I prevent console to be shown when bash started from Task Scheduler?

-- 
http://defun.work/


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


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