Mac Terminal Quit App Aftr Set Time
I have a confession to make. Nighttime is the tough time in our household, trying to get toddlers and even grandma to bed at a decent hour. Our iPads and iPhones have become a staple nighttime thing for both young and old.
You can use AppleScript to tell the application to quit: osascript -e 'quit app 'Slack' this will tell the application to quit and will start all the save and cleanup tasks. Or you can send the TERMsignal with pkillbut it could be that the application will not shut down cleanly. Jun 21, 2016 After running these commands, you’ll have the ability to not only quit Finder from the app switcher, but a “Quit” option will be placed on the Finder menu as well. To add this option to your Mac, you will need to first open up the Terminal, which can be found in the Applications Utilities folder.
We read bedtime stories, play games, watch some Netflix shows, listen to music, and even tune into football games. And grandma loves listening to Old Time Radio shows at night! What we need is a good old-fashioned timer!
Our youngest at 5 years old loves playing games just before bedtime, and we usually play some music to help her unwind at the end of the day and hopefully bring on sleep.
But oftentimes, it’s a struggle to get her to put that iPad down and actually go to sleep, even when she’s obviously tired. To keep our sanity, we really want to avoid fighting and tears every night.
So what we really need is an iPhone sleep timer which shuts everything down automatically so our toddler goes to sleep and we get a little time to ourselves before we go to bed as well. And Grandma needs this too!
All too often, we wake up in the early hours hearing loud noises from her room, only to discover she’s left her iPad on playing back-to-back shows. She might fall asleep but the rest of us are wide awake!
And of course, having your iDevices play all night long means waking up to a lot of battery drained devices–not good for those of us that share our iDevices!
Contents
- 2 The Clock App
- 7 And Finally Some PParent-FriendlyApps!
- 9 Wrap Up
No iPhone Sleep Timer, So What To Do?
Despite my hours of researching, there isn’t a universal solution for automatically turning off your iDevice after a specific time. At least not yet! Apparently, Apple sets some strict rules for app developers.
Apple limits how iOS apps affect iPhone, iPads, and other iDevices. And part of those limitations is not allowing apps to decide when other apps close. And not allowing any apps to put the iOS device to sleep. But this is EXACTLY what we are trying to do i.e. close the radio, music, game, or movie app and go directly into sleep mode.
However, there still are a few solutions that work in tandem, covering my toddler as well as my grandmother’s nighttime use of their iDevices.
The Clock App
Apple’s stock clock app has a timer built-in, and kind of hiding at the end of a list of options under “When Tine Ends” is “Stop Playing.” Using this option seems to work for music and audiobooks but it doesn’t (unfortunately) work for everything.
And there is no hard and fast rule for when it WILL WORK. So best practice is to test it out on the app you are hoping will end with this timer set. So give it a try on your own iPhone, iPad, or iDevice and discover which third-party apps work and which don’t.
Mac Terminal Set Date
Setting the Clock Timer
- Launch Clock app
- Tap Timer icon in lower right
- Set the Timer for hours and minutes desired
- This is how long you want the timer to run–not at what time you want it to stop
- Tap When Timer Ends
- Scroll through all selections and select Stop Playing
- Choose Set from upper right
- Select Start to begin the timer
The Music App
If you or your loved one enjoy listening to music at night to help fall asleep, there’s another way to stop the music. While there still isn’t a timer, disabling both autoplay and repeat allows your music to play once and done.
So once the last song plays everything just stops and your iDevice goes to sleep. We recommend creating a playlist for bedtime and then allowing this to play through to the end and then your iDevice essentially turns off into sleep mode.
YouTube Kids App
I searched forever for a timer on YouTube, since we often look or listen to stuff on YouTube. But I couldn’t find a timer no matter where I looked.
In that exploration though, I found You Tube’s app for kids called YT Kids which indeed has a timer built in!
YT Kids requires a “grown-up” to enter a YT Kids provided code which of course works only with really, really small kids.
The content of YT Kids is curated via YT’s automated system. But as you, your child, or anyone else starts watching videos, the app starts recommending videos based on your searches and views.
As an FYI, YT Kids tries to include content that’s designated as appropriate for children but there may be videos included that are outside your definition of appropriate.
So be mindful! And if you find a video that’s concerning, you’re able to flag it. There’s also an option to turn searching on or off, depending on what you think best for your children.
Once inside the app, tapping the lock icon opening up a “Grown-ups only” passcode unlock–here you either enter in a provided passcode or you set up your own.
Once a passcode is unlocked or set-up, you access settings and timer options. Tapping Timer opens a slider to set a time limit from 1-120 minutes. Once set, press Start Timer to begin. When the time is up, the app locks.
And More Apps
Many apps include timers within them. Pandora, OldTimeRadio, and others include timers you manually set.
Others, like Amazon Video, include settings that allow you to turn off autoplay. Netflix has this feature too but you need to navigate to your account to Playback Settings to turn off autoplay.
I’m sure there are a bunch of apps out there that allow some version of a timer or auto-play disable within their individual settings or via your account settings.
What we are missing STILL is that universal timer–one that works for all apps and all types of content.
Set Your Auto-Lock
Best Mac Terminal App
Auto-lock is an iPhone or other iDevice feature that puts it to sleep and locks the screen after a designated period of no use. It puts the device to sleep to conserve energy.
And that’s a pretty convenient feature. Turning auto-lock to Never means that your iDevice doesn’t go to sleep. In consequence, it drains your battery.
So one of the first things to do is leverage the power of auto-lock by setting this to a designated time instead of Never. Choices include 2, 5, 10, or 15 minutes.
Mac Terminal Quit App Aftr Set Times
We wish Apple included longer time periods like 30, 60, and even 120 minutes. But at the moment, these lower time intervals are our only options.
Force Quit App Mac Os
Change your auto-lock time interval by accessing Settings>Display&Brightness>Auto-Lock.