Skip to main content
0 reactions

How to Set Up and Run the Scheduled Daily Log for n8n

Card titled Set Up the n8n Scheduled Daily Log, labelled n8n Tutorial setup guide, showing a clock, a steps node and a table linked in a row, with the notes n8n 2.48.7 in Docker, Runs at 9:00 in your time zone, and Catches up after n8n was off.

You have the source code of Scheduled Daily Log for n8n. This guide takes it from the zip file to a published daily workflow on your own computer: it runs every day at 9:00 in your time zone, catches up when n8n was off, and saves each run as a row in an n8n data table.

By the end, the Daily log workflow is published, and the Daily log table holds its first row.

Cost: free. Everything runs on your own computer, with no accounts or API keys. n8n’s Community Edition costs nothing to self-host. Docker Desktop (opens in a new tab) is free for personal use, education and small businesses (fewer than 250 employees and less than $10 million in yearly revenue); larger companies need a paid Docker subscription.

Every screen and output on this page is real, run with n8n 2.48.7 and Docker Desktop on macOS.

Get the Source Code

Get the complete source code of Scheduled Daily Log for n8n on Dewiride Store → (opens in a new tab)
The archive holds the two workflows and the Docker Compose file this guide sets up and runs.

Prerequisites

Step 1: Unzip the Source Code

Open Terminal and go to the folder that holds the zip, such as Downloads:

TerminalBash
cd ~/Downloads

Unzip it:

TerminalBash
unzip scheduled-daily-log-n8n-1.0.0.zip

It creates a folder named scheduled-daily-log-n8n. Go into it:

TerminalBash
cd scheduled-daily-log-n8n

The folder holds the two workflows in workflows, compose.yml for n8n, .env.example with two optional settings, and a README.

Step 2: Set Your Time Zone

The Daily log runs at 9:00 in n8n’s time zone, and n8n starts out on New York time. Save yours in the settings file .env, with your own time zone in place of Asia/Kolkata:

TerminalBash
echo "GENERIC_TIMEZONE=Asia/Kolkata" > .env

It creates .env with that one line. Time zone names look like Europe/London or America/Chicago; How to Set the Time Zone in n8n explains them.

Step 3: Start n8n

Already run n8n 2? Check its time zone first, then skip to Step 5 and import the workflows into your own n8n.

compose.yml runs n8n 2.48.7 in Docker, reachable only from your computer, with the time zone from .env. Start it:

TerminalBash
docker compose up -d

docker compose reads compose.yml in this folder, and up -d starts n8n in the background. If the n8n image isn’t on your computer yet, Docker downloads it first. When the last line says Started, n8n is running:

Output (the lines that matter)Plain text
Network scheduled-daily-log-n8n_default Created
Volume scheduled-daily-log-n8n_n8n_data Created
Container scheduled-daily-log-n8n-n8n-1 Started

Step 4: Create Your Owner Account

Open http://localhost:5678 in your browser. The first time, n8n asks for an owner account: enter your email address, name and a password, and click Next.

The n8n Set up owner account form with Email user@example.com, First Name Demo, Last Name User, a hidden password and the Next button.
The owner account, created on first visit.

n8n then shows a few questions and a free licence offer. Answer or skip them until n8n opens. How to Install n8n with Docker shows each of these screens.

Step 5: Import the Two Workflows

Import the setup workflow first. Click + at the top of the left sidebar, then New workflow. Click ⋯ next to the workflow name, then Import › From file, and choose set-up-daily-log-table.json in the workflows folder.

The menu under the three dots next to My workflow, with Import open and its two choices, From URL and From file.
Import › From file.

If n8n asks Importing this from an AI tool?, click Skip. It offers to connect AI tools to n8n, which this guide doesn’t need.

The dialog Importing this from an AI tool?, offering to add n8n’s MCP connector, with the buttons Skip and Connect n8n.
Click Skip.

The workflow opens as Set up the Daily log table. Now import daily-log.json the same way, into a second new workflow.

Advertisement

Step 6: Create the Data Table

Open Set up the Daily log table and click Execute at the bottom of the canvas. Both nodes turn green, and n8n says Workflow executed successfully.

The workflow Set up the Daily log table after a run, with its two nodes When clicking Execute workflow and Create the table both green and ticked.
Both nodes ran: the table exists.

Click Overview (the house icon in the left sidebar), then the Data tables tab. The Daily log table is there. Running the setup workflow again doesn’t create a second table.

The n8n Overview on its Data tables tab, listing one table named Daily log.
The Daily log table, ready for runs.

Step 7: Publish the Daily Log

Open Daily log. Daily schedule starts it every day at 9:00, Your steps here is a placeholder for your own steps, and Log this run saves the day and time of each run in the table.

Click Publish at the top right, then Publish again in the dialog. How to Publish a Workflow in n8n explains the dialog. Click Got it on the Workflow published message. The button now says Published, and the Daily log runs every day at 9:00 in your time zone.

The published Daily log workflow: Daily schedule, then Your steps here, then Log this run, connected in a row.
Daily schedule, your steps, then the log.

Step 8: See a Run in the Log

To see a row now instead of at 9:00, click Execute at the bottom of the canvas: n8n runs the Daily log once and says Workflow executed successfully. Open Overview › Data tables › Daily log. Each run is a row with the day it ran and the time, ranAt:

The Daily log data table with one row: id 1, day Saturday, ranAt 2026-11-21T17:31:12.935+05:30, and its createdAt and updatedAt times.
One run, one row.

Change the Time

Open the Daily schedule node. It runs every day (Days, 1) at Trigger at Hour 9am and Trigger at Minute 0. Change the hour and minute, close the panel and publish again: until you do, the published version keeps the old time.

The Daily schedule node with Trigger Interval Days, Days Between Triggers 1, Trigger at Hour 9am and Trigger at Minute 0.
Every day at 9:00.

For other schedules, such as weekdays only, set Trigger Interval to Custom (Cron) and type a cron expression. Cron Expressions in n8n has examples to copy.

To run your own job each day, put its steps where Your steps here is. Log this run reads the day and time from Daily schedule itself, so it keeps logging whatever you put in between.

If n8n Is Off at 9:00

If n8n isn’t running at 9:00, for example because your computer was off, the Daily log runs once as soon as n8n starts again. That’s the If Execution Is Missed setting on the Daily schedule node’s Settings tab: Run the Most Recent Missed Execution.

The Settings tab of the Daily schedule node, with If Execution Is Missed set to Run the Most Recent Missed Execution and the grace period at 0.
One catch-up run after n8n was off.

To skip missed days instead, pick Don’t Run Missed Executions and publish again.

Clean Up

To stop n8n, run this in the folder:

TerminalBash
docker compose down

It stops n8n and removes its container:

Output (the lines that matter)Plain text
Container scheduled-daily-log-n8n-n8n-1 Removed
Network scheduled-daily-log-n8n_default Removed

Your workflows and the log stay in Docker’s n8n_data volume, so docker compose up -d brings everything back. If 9:00 passes while n8n is stopped, the next start catches up with one run.

Warning: docker compose down -v also deletes the volume, with every workflow and row in it. It can’t be undone.

Troubleshooting

ProblemCauseFix
Problem in node ‘Log this run‘: Data table with name "Daily log" not foundThe Daily log table is missingRun Set up the Daily log table (Step 6), then run the Daily log again
port is already allocated when n8n startsAnother app uses port 5678, such as another n8nStop it, or run echo "N8N_PORT=5701" >> .env to use port 5701. Then run docker compose up -d --force-recreate (why it’s needed).
The Daily log runs at the wrong hourn8n runs on another time zoneSet GENERIC_TIMEZONE (Step 2) and run docker compose up -d again
No run at 9:00The Daily log isn’t published, or n8n wasn’t runningPublish it (Step 7) and keep n8n running

FAQ

Can I use my own n8n instead?

Yes, if it runs n8n 2. Skip Steps 2 to 4, check its time zone, and import the two workflows into it. They were tested with n8n 2.48.7.

Does my computer have to be on at 9:00?

The Daily log runs only while n8n runs. If n8n was off at 9:00, it runs once when n8n starts again (see If n8n Is Off at 9:00).

Where are the runs stored?

In the Daily log data table, inside n8n’s data on your computer. To save them as a file, click ⋯ next to the table’s name, then Download CSV.

Does it work on Windows and Linux?

It has been tested on macOS so far.

Conclusion

You took the Scheduled Daily Log from its zip to a published workflow: n8n running in Docker on your time zone, the two workflows imported, the Daily log table created and the Daily log published. It now runs every day at 9:00, logs each run, and catches up after n8n was off.

To see how the workflow is built, Part 3 of the n8n Tutorial builds it step by step.

Additional Resources

n8n, Docker and other names mentioned are trademarks of their respective owners. JD Bots isn’t affiliated with or endorsed by n8n GmbH or Docker, Inc.

0 comments