This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Clean up /tmp on system reboot [was: Xorg server always starting up on DISPLAY 3.0]
- From: Kizito Porta Balanyà <kfeina at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 13 Apr 2015 12:58:36 +0200
- Subject: Re: Clean up /tmp on system reboot [was: Xorg server always starting up on DISPLAY 3.0]
- Authentication-results: sourceware.org; auth=none
- References: <2e6601d072c3$eb17d060$c1477120$ at gmail dot 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> <CAKf2h5TYzBcP+NQV3DiS+iM937=TbEFUix5VScMq2PrtVeOv3g at mail dot gmail dot com> <55286C63 dot 90904 at gmail dot com>
2015-04-11 2:35 GMT+02:00 LRN <lrn1986@gmail.com>:
> 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