Open an application periodically in Mac OSX I want to open a GUI application (most likely Electron based) periodically on a Mac Book. The period will be configured (daily, hourly etc..) within the application. How would I go about achieving this?
There are numerous approaches you can take.

launchd or Third Party Launcher

You can use tools like macOS's built-in launchd or third party tools like Power Manager (which I wrote, so feel free to ask me questions about its use):



Power Manager includes a task covering How to Schedule an Application to Launch on Mac OS X.

Prefer launchd over cron

You probably want to avoid cron because it does not operate in the current user's graphical session. cron is good for command line tools and scripts, but less well suited to graphical Mac applications.

AppleScript and Calendar

A simple AppleScript application combined with a calendar event's Open File as an alarm may be enough. The AppleScript snippet below will open a specified application and bring it to the front:

tell application "My Electron Application" to activate


These related questions go into specifics:


How can I schedule sending the day’s iCal events via email?
Schedule open automator application every days works only one time