Clean up /tmp on system reboot [was: Xorg server always starting up on DISPLAY 3.0]

Andrew DeFaria Andrew@DeFaria.com
Thu Apr 9 20:29:00 GMT 2015


On 4/9/2015 5:51 AM, cyg Simple wrote:
> From: Jim Reisert AD1C
>>
>> Wouldn't it be nice if Cygwin cleaned up the /tmp directory each time the
>> computer is re-booted?  I don't know how that would work in real life,
> however.
>>
>
> Simply create a scheduled task to execute a windows batch file on system
> start that changes directory to the Cygwin /bin directory and executes sh -c
> 'rm -f /tmp/*'.
>
> --
> cyg Simple
>
>

Or use cron...
-- 
Andrew DeFaria
http://defaria.com


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



More information about the Cygwin mailing list