Checking for running processes when running script from cron or Windows Task Scheduler

chris.wright@mobistar.com.au chris.wright@mobistar.com.au
Mon Jun 24 09:10:00 GMT 2013


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



More information about the Cygwin mailing list