public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* How to launch gui app from cron
@ 2004-05-28  9:26 Jacek Trzmiel
  2004-05-28  9:59 ` Tomasz Rojek
  0 siblings, 1 reply; 3+ messages in thread
From: Jacek Trzmiel @ 2004-05-28  9:26 UTC (permalink / raw)
  To: cygwin


Hi all,

Win2kSP4, cygwin1-20040527.dll snapshot

I've added something like this via crontab -e:
0 11 * * * C:/WINNT/system32/dllcache/iexplore.exe

That does start iexplore.exe (I can find process in Task Manager),
however it does not show its window on desktop.

How can I start win app from cron, so that gui is visible?

Best regards,
Jacek.

--
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to launch gui app from cron
  2004-05-28  9:26 How to launch gui app from cron Jacek Trzmiel
@ 2004-05-28  9:59 ` Tomasz Rojek
  2004-05-28 12:01   ` Jacek Trzmiel
  0 siblings, 1 reply; 3+ messages in thread
From: Tomasz Rojek @ 2004-05-28  9:59 UTC (permalink / raw)
  To: cygwin

> How can I start win app from cron, so that gui is visible?
I would register cron as a service with option -i, or --interactive (Allow
service to interact with the desktop). HTH

-- 
Greetings

Tomasz Rojek





--
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to launch gui app from cron
  2004-05-28  9:59 ` Tomasz Rojek
@ 2004-05-28 12:01   ` Jacek Trzmiel
  0 siblings, 0 replies; 3+ messages in thread
From: Jacek Trzmiel @ 2004-05-28 12:01 UTC (permalink / raw)
  To: cygwin


Tomasz Rojek wrote:
> > How can I start win app from cron, so that gui is visible?
> I would register cron as a service with option -i, or --interactive (Allow
> service to interact with the desktop). HTH

Thanks, it does work.

Gui app launched from cron does show on desktop after:
$ cygrunsrv --stop cron
$ cygrunsrv --remove cron
$ cygrunsrv --install cron -p /usr/sbin/cron -a -D -i
$ cygrunsrv --start cron

Greetings,
Jacek.

--
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-28  9:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-28  9:26 How to launch gui app from cron Jacek Trzmiel
2004-05-28  9:59 ` Tomasz Rojek
2004-05-28 12:01   ` Jacek Trzmiel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).