How to Schedule a Shortcut to Run Automatically on a Mac

Illustration for How to Schedule a Shortcut to Run Automatically on a Mac

You can schedule a Shortcut to run automatically on a Mac with the Shortcuts app and the Calendar app. The most reliable method is to create a calendar event that opens the Shortcut at a specific time. You can also use a Shortcuts automation triggered by an event, time, or another condition when that option is available on your Mac.

Quick Answer

To schedule a Shortcut on a Mac:

  1. Open Shortcuts and create or save the Shortcut you want to run.
  2. Open Calendar and create an event for the time you want it to run.
  3. Set an alert for the event.
  4. Choose Open File as the alert action and select the Shortcut from your user Library.
  5. Save the event and leave your Mac awake and logged in when the scheduled time arrives.

For a more flexible setup, use Shortcuts > Automation if your version of macOS offers the trigger you need.

Before You Schedule a Shortcut

A scheduled Shortcut only works if macOS can access the Shortcut and run the actions inside it. Check these items first:

  • The Shortcut is saved in the Shortcuts app.
  • Your Mac is turned on or awake at the scheduled time.
  • You are logged in if the Shortcut needs access to your account, files, or applications.
  • Any app used by the Shortcut is installed and available.
  • The Shortcut has permission to access files, folders, calendars, reminders, or other data it uses.
  • The Mac has an internet connection if the Shortcut depends on an online service.

Some actions may ask for permission the first time they run. If a Shortcut pauses for confirmation, it may not complete unattended. Test it manually before scheduling it.

Warning: If the Shortcut opens, quits, or changes an app, test it with nonessential data first. A scheduled action may run while you are away, and some actions can overwrite files, send messages, or change information without another reminder.

Method 1: Schedule a Shortcut with Calendar

The Calendar method is useful when you want a Shortcut to run once or on a repeating schedule. It works by using a calendar alert to open the Shortcut file.

1. Create or verify the Shortcut

  1. Open Shortcuts from the Applications folder or with Spotlight.
  2. Click + in the toolbar to create a new Shortcut, or select an existing Shortcut in the sidebar.
  3. Add the actions you want it to perform.
  4. Click the Shortcut name at the top and give it a clear name.
  5. Click the Details button in the right sidebar if you want to add the Shortcut to the menu bar, Finder, or a keyboard shortcut.
  6. Run the Shortcut manually by clicking the play button.

Fix any errors before creating the schedule. A Shortcut that does not work when started manually will not work reliably from Calendar.

2. Locate the Shortcut file

The Shortcuts app stores your Shortcuts in your user Library. The Library folder is hidden by default, but you can open it from Finder.

  1. Open Finder.
  2. Choose Go > Go to Folder from the menu bar.
  3. Enter:
~/Library/Shortcuts
  1. Press Return.
  2. Locate the Shortcut with the same name as the one in the Shortcuts app.

Shortcut files use the .shortcut file extension. If you do not see the extension, the file may still be the correct Shortcut.

Keep this Finder window available while you create the calendar event. You will select this file as the alert action.

3. Create the calendar event

  1. Open Calendar.
  2. Select the date and time when you want the Shortcut to run.
  3. Double-click the calendar area to create a new event.
  4. Enter a name that identifies the Shortcut, such as “Run backup Shortcut.”
  5. Set the event’s start time.
  6. If you want it to repeat, click Repeat and choose an interval such as Every Day, Every Week, or Every Month.

Choose the time carefully. Calendar uses the Mac’s current date, time, and time zone.

4. Add an alert that opens the Shortcut

  1. In the event window, click Alert.
  2. Choose Custom.
  3. In the first menu, choose Open File.
  4. Click the file menu that appears and choose Other.
  5. In the file-selection window, navigate to your user Library’s Shortcuts folder:

~/Library/Shortcuts

  1. Select the Shortcut file.
  2. Click Select or Choose.
  3. Set the alert to At time of event.

The alert now tells Calendar to open the Shortcut when the event begins. Opening a Shortcut file launches it in the Shortcuts app and starts its actions.

  1. Close the event window.
  2. Click Save if Calendar asks you to confirm the event.

5. Test the schedule

Before relying on the automation, create a temporary event a few minutes in the future.

Use a harmless Shortcut for the test, such as one that opens a webpage or displays a notification. If it works, edit the event and set the correct schedule.

Warning: Do not test a Shortcut that deletes files, sends messages, makes purchases, or changes important settings unless you can safely undo its actions. A calendar alert can run while you are not watching.

Repeat a Shortcut Automatically

Calendar can repeat an event, which lets you run the same Shortcut on a recurring schedule.

When creating or editing the event:

  1. Click Repeat.
  2. Select the repeat interval.
  3. Choose End Repeat if you want the schedule to stop on a specific date.
  4. Confirm the alert still uses Open File and points to the correct Shortcut.
  5. Save the event.

For example, you could run a Shortcut every weekday morning, every Sunday evening, or on the first day of each month.

If the Shortcut file is moved, renamed, or deleted, the calendar alert may no longer be able to open it. Avoid moving the file from ~/Library/Shortcuts after creating the schedule.

Method 2: Use Shortcuts Automation

Some Mac installations provide automation triggers directly in the Shortcuts app. This method can be more convenient because the trigger and actions remain together in one place.

  1. Open Shortcuts.
  2. Click Automation in the sidebar if it is available.
  3. Click + or New Automation.
  4. Choose a trigger, such as a time, an app opening, or another available event.
  5. Configure the trigger.
  6. Add the actions you want the automation to perform, or choose an existing Shortcut if the interface offers that option.
  7. Review the actions carefully.
  8. Save or enable the automation.

The available triggers and controls can vary by macOS version and by the type of automation. If you do not see the trigger you need, use the Calendar method instead.

Warning: Some automation triggers may run every time an event occurs. For example, an automation tied to opening an app could run repeatedly throughout the day. Choose a trigger that matches your intended schedule.

Make the Shortcut Run More Reliably

Keep the Mac awake

A Mac may not run a calendar alert while it is asleep. If the scheduled action is important, schedule it for a time when the Mac is normally awake and connected to power.

You can review sleep and power settings in System Settings. The exact options depend on the Mac model and its power source.

Avoid interactive actions

Actions that require you to click a button, choose a file, or approve a permission may stop when the Shortcut runs unattended. Replace them with actions that have all required information in advance.

For example, select a specific folder instead of using an action that asks you to choose a folder each time.

Use absolute file locations when possible

If a Shortcut works with files, point it to a known folder rather than relying on a recently used location. This makes the automation less likely to fail because a file was moved or a different folder became active.

Check notification settings

A Shortcut may complete successfully but still appear not to run if its result is only shown as a notification. Review notification settings for Shortcuts and Calendar in System Settings > Notifications. For related notification controls, see How to Manage Notifications on a Mac.

Review permissions

If a Shortcut controls another app or accesses protected files, macOS may request permission. Open System Settings and review relevant settings under Privacy & Security.

Run the Shortcut manually and approve legitimate requests before scheduling it. If you deny access, the scheduled run may fail later.

Troubleshooting Scheduled Shortcuts

The Shortcut does not run

Check the following:

  1. Open Calendar and confirm the event still exists.
  2. Open the event and verify that its alert is set to Custom > Open File.
  3. Confirm that the selected file is the correct item in ~/Library/Shortcuts.
  4. Make sure the Mac was awake or able to process the alert.
  5. Run the Shortcut manually from the Shortcuts app.

If you changed the Shortcut substantially, remove and recreate the Calendar alert. The event may still reference an older file or an invalid file location.

Calendar opens, but the Shortcut does not complete

The Shortcut may be waiting for input or permission. Open it in Shortcuts and look for actions that require:

  • Choosing a file or folder
  • Selecting a contact
  • Confirming a deletion
  • Approving access to another app
  • Entering text or other information
  • Signing in to a website or service

Replace interactive actions with fixed values where practical, then test the Shortcut again.

The schedule runs at the wrong time

Check the event’s date, time, repeat settings, and time zone. Also check whether the Mac’s clock and time zone are correct in System Settings > General > Date & Time.

If you use a repeating event, inspect the original event rather than creating several overlapping events. Multiple calendar alerts can make a Shortcut appear to run unexpectedly.

The file cannot be found

Open Finder and choose Go > Go to Folder, then enter:

~/Library/Shortcuts

If the Shortcut is missing, open Shortcuts and verify that it still appears in the sidebar. If necessary, create a new Calendar event and select the Shortcut again.

Do not rename or move the Shortcut file after scheduling it unless you are prepared to update the Calendar alert.

The Shortcut runs more than once

Look for duplicate Calendar events or multiple automations. In Calendar, switch to a list or week view and search for the event name. In Shortcuts, review the Automation section for repeated triggers.

Delete duplicate schedules, then test with one temporary event.

The Shortcut works manually but fails on schedule

Manual runs often happen while the Shortcuts app is open and you are present to answer prompts. A scheduled run may not have the same access or context.

Simplify the Shortcut and test each section separately. Start with an action that produces an obvious result, such as creating a test note or opening a webpage. Add the remaining actions one at a time until you identify the step causing the failure.

Frequently Asked Questions

Can a Mac run a Shortcut while it is asleep?

Not reliably. A sleeping Mac may not process the Calendar alert at the scheduled time. Schedule the Shortcut while the Mac is awake, or adjust power settings when appropriate.

Does the Shortcuts app need to be open?

When using a Calendar event to open a Shortcut, macOS can open the Shortcuts app as part of the process. However, the Mac must be available, and permissions or interactive actions may still prevent unattended completion.

Can I schedule a Shortcut to run every day?

Yes. Create a Calendar event, set its alert to Custom > Open File, select the Shortcut, and choose Every Day under Repeat. Test the schedule before using it for important tasks.

Can I schedule more than one Shortcut?

Yes. Create a separate Calendar event for each Shortcut. Give each event a descriptive name and avoid scheduling resource-intensive Shortcuts at exactly the same time.

What happens if I edit the Shortcut later?

Most edits apply when the same Shortcut is opened and run again. Test the scheduled version after making significant changes, especially if you add new permissions, files, or app controls.

Can a scheduled Shortcut send an email or message?

It may be able to, but messaging actions can require confirmation, account access, or an active internet connection. Test the action carefully, and do not schedule it until you are certain it will use the correct recipient and content.

Final Thoughts

The Calendar method is the simplest way to schedule a Shortcut on a Mac: create an event, set a custom Open File alert, and select the Shortcut in ~/Library/Shortcuts. For more event-based workflows, check the Automation section in Shortcuts. Always test the schedule with harmless actions first, and make sure your Mac is awake and the Shortcut has the permissions it needs.