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: Frank Fesevur <ffes at users dot sourceforge dot net>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Fri, 10 Apr 2015 23:55:47 +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>
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