public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: chris.wright@mobistar.com.au
To: cygwin@cygwin.com
Subject: Checking for running processes when running script from cron or      Windows Task Scheduler
Date: Mon, 24 Jun 2013 09:10:00 -0000	[thread overview]
Message-ID: <35279.69.164.197.125.1372060333.squirrel@london.mobistar.com.au> (raw)

I am trying to run a bash script periodically ( eg from cron or Windows task
scheduler ) which needs to kill any existing instances of a background process
then restart it. Unfortunately the scheduled script only seems to be able to see
processes that were created in the context it is running from and not any other
(cygwin) processes, background or foreground. This is occurring on Windows XP
pro 32 bit.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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

                 reply	other threads:[~2013-06-24  7:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=35279.69.164.197.125.1372060333.squirrel@london.mobistar.com.au \
    --to=chris.wright@mobistar.com.au \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).