change wallpaper periodly by cron?
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Aug 20 12:07:00 GMT 2003
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:cygwin@cygwin.com
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/
More information about the Cygwin
mailing list