Repository navigation
scheduled macros #691
Closed
lucasbcgeo
started this conversation in
Ideas
Replies: 1 comment
|
Sorry for the very slow reply here! Yes, since QuickAdd 2.12.0. QuickAdd doesn't have its own built-in clock, but it has a CLI command your OS scheduler can call: Set cron, launchd, or Windows Task Scheduler to run that command, and your macro runs on whatever schedule you want. Obsidian has to be running. If the macro asks for input, pass it with Two other options, depending on what you had in mind:
module.exports = async ({ quickAddApi }) => {
window.clearInterval(window.quickAddSchedule);
window.quickAddSchedule = window.setInterval(() => {
quickAddApi.executeChoice("My macro");
}, 60 * 60 * 1000); // every hour
};Closing as resolved. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is it possible to set scheduled macros?
All reactions