delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/10/16:39:19

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=TwdZGwTvbbkWk88HhL7JCoqwtJ114T
Bus0ZmAVd2bxkYLbOCCCnQGEVYFqkS/XlVKvKG8CtiiZYAIrge2clf44L9F+tx1j
fh21A6xoG99e60VR8f0DKHDTHxQ+G7wy2yIGcUKMlq+v6g/hXw01cBNATNjOKVcT
zUWMyrtLI9sKw=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=QO/kLTwoiH00klWmuuhB0WGZZ9E=; b=Ebuy
DH7e8Cqgkt5WrDRnC7UyuvQrMDcSo8Zn455avJL++LhwIcAksiHWygaIcGD41Ohp
3atEtph4QSpVcB6vYnr1HmyFdK7SOl6wc0AWfgLNqU4YCAFjMSAe6ag2Kb3oY6Cq
NAg9spkiTPZvdzTXq9A6A9bBojHDBTODxkowcyA=
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.2 required=5.0 tests=AWL,BAYES_05,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: Clean up /tmp on system reboot [was: Xorg server always starting up on DISPLAY 3.0]
Date: Fri, 10 Apr 2015 13:38:29 -0700
Lines: 21
Message-ID: <mg9cc6$22c$1@ger.gmane.org>
References: <2e6601d072c3$eb17d060$c1477120$@gmail.com> <mg6ne3$m61$1 AT ger DOT gmane DOT org> <5526FBA6 DOT 4070806 AT winfirst DOT com> <mg715f$g8i$1 AT ger DOT gmane DOT org> <loom DOT 20150410T012243-602 AT post DOT gmane DOT org> <CAO2ddnaUO+LiEG54GhiM1uLEYPE4p=LeFer0XjwyfRg330Q+vw AT mail DOT gmail DOT com> <CAKf2h5Skv_GbOs6Bt8=T-AieKU2OSfQKarrL4ROz8zX7mqVihg AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
In-Reply-To: <CAKf2h5Skv_GbOs6Bt8=T-AieKU2OSfQKarrL4ROz8zX7mqVihg@mail.gmail.com>
X-IsSubscribed: yes

On 4/10/2015 1:19 AM, Frank Fesevur wrote:
> 2015-04-10 9:49 GMT+02:00 Kizito Porta BalanyĆ :
>> I'm wondering how cron knows when a machine is rebooted.
>> What does cron check? Which parameter / file?
>> Do you know it?
>
> $ man 5 crontab
>
> See @reboot
>
> Never used it but I assume it will run after cron service is started.
>
> Regards,
> Frank

I haven't used it either, but I saw it there. Makes you wonder what 
would happen if you simply restarted the service or stopped it and then 
started it again.
-- 
Andrew DeFaria
http://defaria.com


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