![mac sleep timer terminal mac sleep timer terminal](https://www.maketecheasier.com/assets/uploads/2015/07/maccommands-sleep.png)
Xojo should write that in the Help of the Timer (I didn’t see it). Thank you again to have confirmed me that a Timer sleep when the Mac sleep. When done, I calculate when I have to launch the next one. The user can launch the sync clicking a button, or launch it every xx minutes, or launch it at a specified time. My program does synchronization between two folders. I didn’t understand “Create an event list sorted by time that the event should happen.”. I think I will fire every 10 minutes if next launch is greater than 1 hour, and every minutes after.
MAC SLEEP TIMER TERMINAL LICENSE
I’m sure Christian’s plugging are great but I have a few (poor) donations for my softwares and I can’t spend more money (Xojo’s license is enough). But it seems it’s not easy to know that’s the Mac wake up.Ģ - Fire the Timer every minutes (or more or less) and re-ajust it every time until it should really launch the method I want. But if the Mac sleep too long I’m out of the delay to re-ajust the Timer.Ģ solutions : 1 - When the Mac wake up, re-ajust the Timer. Then when the Timer Fire, it compare the actual DateTime to the wish Launch Method DateTime, and it re-ajust its own Period. As it’s a long period, I set the period shorter than the real delay I want. In my program, I already have a Date property which is the DateTime at which the Timer should launch the Method I want. It’s annoying to do that king of test, does someone have the answer? Thanks. My Timer should fire at 8:00 + 10 hours = 18:00 but it seems that it fires at 21:00 as my Mac sleep during 3 hours. At 10:00 I put my Mac to sleep and I wake up it at 13:00. I am not sure to be clear : I set my Timer to a period of 10 hours at 8:00. It seems that if the Mac goes to sleep, the delay of the timer grows the delay of the sleep. I have a timer with a long period (some hours).