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

2015-04-13 Thread Kizito Porta BalanyĆ 
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 ref

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

2015-04-10 Thread 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. >> >> I haven't used it either, but I saw it there. Makes you wonder what would >> happen if yo

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

2015-04-10 Thread Frank Fesevur
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 th

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

2015-04-10 Thread Andrew DeFaria
On 4/10/2015 1:19 AM, Frank Fesevur wrote: 2015-04-10 9:49 GMT+02:00 Kizito Porta BalanyĆ : I'm wondering how cron knows when a machine is rebooted. What does cron check? Which parameter / file? Do you know it? $ man 5 crontab See @reboot Never used it but I assume it will run after cron serv

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

2015-04-09 Thread Andrew DeFaria
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 s

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

2015-04-09 Thread cyg Simple
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 Cy