Logo

dev-resources.site

for different kinds of informations.

Obsidian - How to create Daily note every day, even if I don't open it

Published at
8/30/2024
Categories
obsidian
tutorial
productivity
mac
Author
luca1iu
Author
7 person written this
luca1iu
open
Obsidian - How to create Daily note every day, even if I don't open it

Problem

The Daily Note plugin is a fundamental feature in Obsidian, essential for many users who track their daily tasks, thoughts, and progress. In the Daily Notes settings, there’s an option to Open daily note on startup, which ensures that a new daily note is created whenever you open Obsidian in the morning.

However, there’s a catch: if you leave Obsidian open overnight and don’t close it, you’ll notice that when you open your computer the next morning, today’s daily note isn’t automatically created. You’ll have to manually create it, which can slightly disrupt your workflow.

This isn’t a major issue, but automating this process can make your daily routine smoother and more efficient.

macOS Solution

Here’s my simple, no-coding solution: use macOS’s built-in Automator to schedule a daily restart of Obsidian.

Step 1: Create an Automator Workflow

  1. Open Automator: Launch the Automator app on your Mac. You can find it using Spotlight (Command + Space) or in the Applications folder.
  2. Create a New Workflow: Select “Workflow” when prompted to choose a type of document.
  3. Add the Necessary Actions:
    • Quit Application: Search for the Quit Application action and add it to the workflow. Set it to quit Obsidian.app, and make sure to untoggle ‘Ask to save changes’ to ensure the app closes without prompts.
    • Pause for 10 Seconds: Add the Pause action and set it to 10 seconds. This brief pause ensures that Obsidian has fully closed before reopening.
    • Launch Application: Finally, add the Launch Application action and set it to open Obsidian.app again. This will trigger the “Open daily note on startup” feature, creating the new note.
  4. Test the Workflow: Click the Run button at the top right of the Automator window to test the workflow.
  5. Save the Workflow: Save your workflow to a convenient location on your computer with a recognizable name like reopenObsidia.

Step 2: Schedule the Workflow Using Calendar

  1. Open Calendar: Launch the Calendar app on your Mac.
  2. Create a New Event: Create a new event at the time you typically start your workday.
  3. Set the Event to Repeat: Configure the event to repeat on workdays or every day, depending on your needs.
  4. Add a Custom Alert:
    • In the event details, click on Alert, then select Custom.
    • Choose Open File as the alert type.
    • Select Other and navigate to the Automator workflow you saved earlier. This will link the event to your workflow.

Step 3: Test the Setup

Test the Automation: On the next scheduled time, observe if the workflow correctly quits and restarts Obsidian, automatically creating your daily note. Make adjustments as needed.

Windows Solution

For Windows users, you can achieve a similar automated daily restart of Obsidian using Task Scheduler, a built-in tool in Windows. Here’s how to set it up:

Step 1: Create a Batch Script

  1. Open Notepad: open Notepad.
  2. Write the Batch Script: Copy and paste the following code into Notepad, and replace C:\path\to\Obsidian.exe with the path to Obsidian on your computer. batch @echo off taskkill /IM Obsidian.exe /F timeout /t 10 start "" "C:\path\to\Obsidian.exe"
  3. Save the Script: Save as reopenObsidian.bat with the .bat extension.

Step 2: Schedule the Batch Script Using Task Scheduler

  1. Open Task Scheduler: Press Win + R, type taskschd.msc, and press Enter.
  2. Create a New Task: In Task Scheduler, click on Create Task in the Actions pane on the right. Name it, choose Daily, set the time, and select Start a program.
  3. Select the Batch File: Browse to the .bat file you saved and select it.
  4. Finish: Click Finish to save.

Conclusion

By following these steps, your daily note in Obsidian will be automatically created every morning without any manual intervention. This setup ensures that you never miss a day, keeping your notes organized and your workflow smooth.


Explore more

Thank you for taking the time to explore data-related insights with me. I appreciate your engagement.

🚀 Connect with me on LinkedIn

obsidian Article's
30 articles in total
Favicon
Exporting Mac OSX Book Highlights into an Obsidian Vault or Markdown Files
Favicon
Mi plugin de Obsidian para facilitar el estudio de AWS!
Favicon
How Smart Notes with Obsidian Helped Me
Favicon
Obsidian 101: How to Get Started and Stay Organized!
Favicon
TIL: Styling Obsidian text paragraphs
Favicon
Journey Developing an Obsidian Plugin Part 2 - Improving the Architecture, Basic Error Handling and more!
Favicon
Free Obsidian PC Android sync
Favicon
Atomic Note-Taking Guide
Favicon
✍️ Obsidian: Journaling
Favicon
✍️ Obsidian: Journaling
Favicon
How to Install, Activate, and Update Obsidian Plugins
Favicon
Obsidian's New Web Clipper - You'll Want to Try It
Favicon
How to Sync Obsidian Across All Your Devices (Including Free Methods)
Favicon
How to sync your Obsidian vault using GitHub: A complete guide
Favicon
Create a New Note for Your Obsidian Vault from the Terminal
Favicon
Project Planning
Favicon
Obsidian - How to create Daily note every day, even if I don't open it
Favicon
Deploy obsidian as container
Favicon
ovm (Obsidian Vaults Manager)
Favicon
Obsidian: The All-in-One Knowledge Management Tool for Efficient Information Organization
Favicon
Information flow - how I capture the notes
Favicon
How to install latest Obsidian on Ubuntu 24.04 or older versions
Favicon
Migrating From DokuWiki to Obsidian
Favicon
My Obsidian + Hugo blogging setup
Favicon
Leaving the Comfort Zone Behind: The Journey to Developing a Plugin for Obsidian.md
Favicon
Journey: Developing an Obsidian Plugin Part 1 - Getting Started
Favicon
Why Obsidian Falls Short as a Note-Taking Tool
Favicon
Plugins de Obsidian para Programadores
Favicon
Building A SimpleNote to Obsidian notes converter
Favicon
don't know the title yet

Featured ones: