From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44937 invoked by alias); 13 Apr 2015 10:58:41 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 44923 invoked by uid 89); 13 Apr 2015 10:58:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-lb0-f172.google.com Received: from mail-lb0-f172.google.com (HELO mail-lb0-f172.google.com) (209.85.217.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 13 Apr 2015 10:58:39 +0000 Received: by lbbuc2 with SMTP id uc2so55426605lbb.2 for ; Mon, 13 Apr 2015 03:58:36 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.112.199.36 with SMTP id jh4mr12440439lbc.49.1428922716379; Mon, 13 Apr 2015 03:58:36 -0700 (PDT) Received: by 10.25.200.213 with HTTP; Mon, 13 Apr 2015 03:58:36 -0700 (PDT) In-Reply-To: <55286C63.90904@gmail.com> References: <2e6601d072c3$eb17d060$c1477120$@gmail.com> <5526FBA6.4070806@winfirst.com> <55286C63.90904@gmail.com> Date: Mon, 13 Apr 2015 10:58:00 -0000 Message-ID: Subject: Re: Clean up /tmp on system reboot [was: Xorg server always starting up on DISPLAY 3.0] From: =?UTF-8?Q?Kizito_Porta_Balany=C3=A0?= To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-04/txt/msg00265.txt.bz2 2015-04-11 2:35 GMT+02:00 LRN : > On 11.04.2015 0:55, Frank Fesevur wrote: >> 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. Yes it is. After reading again the man, reboot is referred to the start / restart of the cron service itself, not to the status of the reboot machine. >>> >>> 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. >> > > Or, if you have a lot of memory, install ImDisk, create a disk and move temp > directory onto it. It's guaranteed to not to survive reboots. Also, it's > probably faster than having temp directory on a real disk. > > > -- > O< ascii ribbon - stop html email! - www.asciiribbon.org -- 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