On Wed, Aug 20, 2003 at 02:12:52PM +0800, Lucifer wrote: > I wrote a simple program to change my desktop wallpaper: > [...] > It works well when I run it under cygwin console: the wallpaper changes > successfully. > > However, when I put it in my crontab (I want to change my desktop > apperance periodly :p), the wallpaper doesn't change. The log read: > "Error: 1459", which means "This operation requires an interactive > window station." > > Is this a limitation of cron? How can I resolve it? Thanks in advance.
It's a limitation of service processes. You can only change it by setting the "Allow service to interact with desktop" property of the service. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:[EMAIL PROTECTED] Red Hat, Inc. -- 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/