-
Notifications
You must be signed in to change notification settings - Fork 0
MacOS Cronjob
Abhijeet Rastogi edited this page Oct 9, 2023
·
8 revisions
- Ensure that calsync is locally installed
$ brew install shadyabhi/tap/calsync
- Open Automator
- Click
File -> New
on top-left.
- Choose
Application
- Select
Run Shell Script
on top-left after searching, double click it.
- Enter this content in the textbox.
(/usr/local/bin/calsync 2>&1) >> /usr/local/var/log/calsync.log
-
On top-left, click
File -> Save
, choose location as/Application
and name itCalsync.app
. -
Open
/Application/Calsync.app
, then ensure that you choose the prompts.
- Setup a cron that runs every "x" minutes. Open
Terminal
and runcrontab -e
, paste the following:-
* * * * * open -g /Applications/Calsync.app
- Voila! This will now sync your calendars every minute.