docker run -d --name n8n -p 5678:5678 -e GENERIC_TIMEZONE=Europe/Madrid -e TZ=Europe/Madrid -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n

Category: n8n & Workflow Automation

docker run -d --name n8n -p 5678:5678 -e GENERIC_TIMEZONE=Europe/Madrid -e TZ=Europe/Madrid -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n

Run n8n with timezone settings

Starts n8n with GENERIC_TIMEZONE for schedule nodes and TZ for the container system clock, both set to Europe/Madrid. The official Docker instructions recommend setting both, alongside N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true. Scheduled workflows then fire at the right local time.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.