delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/14/22:49:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Fri, 14 May 2010 22:49:03 -0400
Message-ID: <AANLkTimu0seoR6qyROFcq7dP2XDD6SPnVjmoBezPar1z@mail.gmail.com>
Subject: Re:cron visual output looks funny
From: Stephen Morton <stephen DOT c DOT morton AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Sun, 02 May 2010 16:25:07 +0200 Johannes M=FCller Wrote:
>I installed and use cron on windows xp using cygwin. It works fine for non=
-GUI applications, but for instance notepad does not seem to >start at all.=
 And a popup-window-script I wrote in python does appear and react to useri=
nput, but is not displayed
> ...

I think the reason you're getting no replies is because people are perplexed
at why anybody would be trying to run GUI apps from cron. You see cron is
_normally_ used to run background jobs that have no direct output or at most
put a little bit of output to a logfile.
   For example, these are the kinds of things people might normally
put in a cron:
   * Back up data (databases, modified software code, research data,
twiki contents, etc)
   * Optimize a database (after hours)
   * Roll logfiles
   * Send you an email about which friends' birthdays are coming up in
the next month.

But generally, never ever graphical apps. I'm not saying it isn't
possible; it sounds
like you found something on a Ubuntu mailing list about it. But it is highly
unusual.

And people are going to jump to the conclusion --correct or not-- that you =
are
doing something really stupid and they want no part in helping you. So perh=
aps
you can indicate what you're trying to do that you think you want cron for.=
 And
if it's good, people will say "oh, I see" and try to help. And if it's
not good, people
will also probably try to help you by steering you to something more
appropriate to your needs.

Stephen

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019