delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/10/17:56:41

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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=wOZyted
RBLOGERca1V0R6z+7bmaYEiPEzsgnwm7TSZu4QG7TPYij/iNj1eWIR7zmPKdM3PS
aJqiu7dBGE1pCGL4ovOXCDQP8pUKItZuzQZ3stKwR6gek5ZXKqyFZXojxnRqgLEo
6miXW6K+BB3YmYNW6OaJCza1KKgqHhm4PK7w=
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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=WGGW8n5MRE37F
BKLc/jAIeKSwEg=; b=Hy5YIaTfYAcwRQ6y/MlW8XGwNRmMUk/+JhgoXiQxw0Wut
qpc4iV+DBCNdFxBnVda8UstrfyyJAqtxouzxaAVmBIuYPXCqgHhtd3ktrCOxzKnw
RbJTLxleEVj2C6keEuUsJ7807y2bHia56/4ue57J22bB5Z9y5vnPic75ZL6/w0=
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=0.7 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RDNS_DYNAMIC,TVD_RCVD_IP autolearn=no version=3.3.2
X-HELO: s87.webhostingserver.nl
X-Received: by 10.50.18.49 with SMTP id t17mr1365570igd.3.1428702977719; Fri, 10 Apr 2015 14:56:17 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <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> <mg9cc6$22c$1 AT ger DOT gmane DOT org>
From: Frank Fesevur <ffes AT users DOT sourceforge DOT net>
Date: Fri, 10 Apr 2015 23:55:47 +0200
Message-ID: <CAKf2h5TYzBcP+NQV3DiS+iM937=TbEFUix5VScMq2PrtVeOv3g@mail.gmail.com>
Subject: Re: Clean up /tmp on system reboot [was: Xorg server always starting up on DISPLAY 3.0]
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

2015-04-10 22:38 GMT+02:00 Andrew DeFaria:
>> $ man 5 crontab
>>
>> See @reboot
>>
>> Never used it but I assume it will run after cron service is started.
>
> 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.

Have cron installed on my laptop so I just tested. And yes, that is
how @reboot works on Cygwin. It runs the job right after the cron
daemon is started, regardless how many times you restart the service.

On Linux it seems to detect that the system really was rebooted.

Regards,
Frank

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