How to schedule macOS Shortcuts - https://medium.com/@richardmoult75/how-to-schedule-macos-shortcuts-96774f6972ac

Create a Calendar Event to Launch and Close Automator Workflow https://allthings.how/how-to-automatically-launch-and-close-an-app-on-mac-at-scheduled-times/

How to make an existing AppleScript file to work as a service? https://apple.stackexchange.com/questions/100642/how-to-make-an-existing-applescript-file-to-work-as-a-service