delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/04/30/04:33:43

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=d3T2p++IZhjMctLR
/+yPM2XGowK5Og35XyrwIEEO+LoE6A0xQkWy77pG7JjjmKNGiWY5W3zUBOH+pLVs
qWOWc5c/3nlZtZJ8iEuH8RATfUqAXTR4KKVk32+uEkrzAafxwTDxrvhPMqaM9A6Y
411NkslE+WjuXlQCc8/bb4sJ05o=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=Xn+2oJkQB+XKAEGMRVwnwq
vHAU4=; b=x1KvDbpXaYZ7xnk80FCmG5S7emAdrhMxcinuCdEerBMQlnVkyf6kpk
vU6DrmR5VJk2B1SiElTOZBHwlPwFuLw6BdMiHlzJ7rkIp3jxakxsGu81U0FA6vu7
D/YwVGit85lIhQBy0zwH06AfEGNGGt5DO7vq3XKZd6Mqb26w9rOfw=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-Received:Mon, H*u:6.1, H*UA:6.1, services
X-HELO: mail-wr0-f173.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :disposition-notification-to:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=3TDFGM/ztAZ8tiGN494YWrJ0+N4OWeIbnH8nNvUGYsM=; b=cPhha8+kf8ESg8HsIb/7LYgl5st09ameDR2iWT+2Tz/DwmiR0xa5qNOUNwZFoYxnm7 CYrXNE2LYBz8oiVoQgV952ys0zTmA/po9GJmydnWip9XWnEMK6s9nkfBC46ODvRjzVRJ /aRdu9x7uiJaeKSzcDfcsJzZU5QYAsZeZ8SFgefvS4kMWJNPhj9K4oWbhfKlTjcs5Cdr OMAAk36ycdX5CztQjTjkqIfk4C+TvxiQv567TwBrvKcg1P3UrQ3uIsVENgYMOrbTgAuc LNMh6N9xe29Th38Wxs+lXByzOj6qtbQWjGTTJ0TfoMNw6i0NzmJCNk32QHItan0W7kKy Tkiw==
X-Gm-Message-State: ALQs6tAXzCUMbPU/zxDQLxJ1HP0rd7IvilYSl2XR04cyB1cysX/jIQB2 2RzfxAxepJMUsHxnszS61OwsJw==
X-Google-Smtp-Source: AB8JxZp/JALLT/4Zuju4VfMPwZahCy+va54wrpeuKluqLQgW8xCKwn1HONgvXVENK+4WM+/E5l3qmg==
X-Received: by 2002:adf:8323:: with SMTP id 32-v6mr1004150wrd.174.1525077206221; Mon, 30 Apr 2018 01:33:26 -0700 (PDT)
Subject: Re: update batch file
To: cygwin AT cygwin DOT com
References: <CAG2dRtHn0VTEcuTUmDfM=_S_vrUoYFsJ5J+W50B0217-SdG7Bg AT mail DOT gmail DOT com>
From: Vlado <v DOT 99cygwin AT gmail DOT com>
Message-ID: <e988ba24-6c1b-40cc-4473-f059eb6e89cb@gmail.com>
Date: Mon, 30 Apr 2018 10:33:26 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <CAG2dRtHn0VTEcuTUmDfM=_S_vrUoYFsJ5J+W50B0217-SdG7Bg@mail.gmail.com>
X-IsSubscribed: yes

On 30.4.2018 3:57, Dave Caswell wrote:
> Has anyone created a batch file that stops the cygwin services, runs
> setup to get updates in the background, and then restarts the
> services??

Hi Dave.

I created similar script:
https://gist.github.com/Vlado-99/1d59bf05b70481377ff90bb53e13bb2d

Add more services as You wish.
Add --quiet-mode and (probably) --upgrade-also to %SETUP%.exe (line 289).

Vlado

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