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: List-Subscribe: List-Archive: List-Post: List-Help: , 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: References: <2e6601d072c3$eb17d060$c1477120$@gmail.com> <5526FBA6 DOT 4070806 AT winfirst DOT com> From: Frank Fesevur Date: Fri, 10 Apr 2015 23:55:47 +0200 Message-ID: Subject: Re: Clean up /tmp on system reboot [was: Xorg server always starting up on DISPLAY 3.0] To: "cygwin AT cygwin DOT com" Content-Type: text/plain; charset=UTF-8 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