This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]