How to launch gui app from cron

2004-05-28 Thread Jacek Trzmiel

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/



Re: How to launch gui app from cron

2004-05-28 Thread Tomasz Rojek
 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/



Re: How to launch gui app from cron

2004-05-28 Thread Jacek Trzmiel

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/