# The Wait Node is Not Executing

**URL:** <https://community.n8n.io/t/the-wait-node-is-not-executing/33647>\
**Category:** Questions\
**Tags:** node\
**Created:** [November 30, 2023, 4:00pm UTC](https://community.n8n.io/t/the-wait-node-is-not-executing/33647 "2023-11-30T16:00:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kanintesova](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/kanintesova/32/31790_2.png) [@kanintesova](https://community.n8n.io/u/kanintesova)\
**Post date:** [November 30, 2023, 4:00pm UTC](https://community.n8n.io/t/the-wait-node-is-not-executing/33647/1 "2023-11-30T16:00:19Z")

</div>

I have seen this mentioned before here, but topics are now closed.

Anytime I want to set a wait node with a longer time interval it just keeps running and does not execute. It is driving me a bit nuts.

This is the error response in the container log:

`TypeError: execution.waitTill.getTime is not a function`

I have tried in an empty workflow, restarted everything, set up correct timezones for both DB and N8N, and the schedule trigger node works as it should. I did set the timezones AFTER instantiating the DB though.

My setup is docker, via docker compose and I am using a Postgres DB.

Docker compose config is like so:

```auto

version: '3.8'

services:
  n8n:
    image: n8nio/n8n:ai-beta
    ports:
      - "5678:5678"
    environment:
      - N8N_BASIC_AUTH_ACTIVE=true
      - N8N_BASIC_AUTH_USER=user
      - N8N_BASIC_AUTH_PASSWORD=password
      - DB_TYPE=postgresdb
      - DB_POSTGRESDB_HOST=db
      - DB_POSTGRESDB_PORT=5432
      - DB_POSTGRESDB_DATABASE=n8n
      - DB_POSTGRESDB_USER=redacted
      - DB_POSTGRESDB_PASSWORD=redacted
      - N8N_HOST=n8n.example.com
      - WEBHOOK_URL=https://n8n.example.com
      - N8N_PUSH_BACKEND=sse
      - TZ=Europe/Paris
      - GENERIC_TIMEZONE=Europe/Paris

    volumes:
     - /appdata/n8n/files:/files
     - /appdata/n8n/system:/home/node/.n8n
    depends_on:
      - db
    restart: unless-stopped

  db:
    image: postgres:12
    volumes:
      - /appdata/n8n/postgres:/var/lib/postgresql/data
    environment:
      - POSTGRES_USER=redacted
      - POSTGRES_PASSWORD=redacted
      - POSTGRES_DB=n8n
      - TZ=Europe/Paris
      - USER=1000:1000
    restart: unless-stopped

```

I am pulling my hair. I will have to try to release the wait node via a webhook and the schedule trigger node in from a separate workflow or something similar.

All time settings seem ok otherwise.

Any thoughts? Appreciate it \<3

---

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/196425_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [November 30, 2023, 4:00pm UTC](https://community.n8n.io/t/the-wait-node-is-not-executing/33647/2 "2023-11-30T16:00:19Z")

</div>

It looks like your topic is missing some important information. Could you provide the following if applicable.

- **n8n version:**
- **Database (default: SQLite):**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**
- **Operating system:**

---

<div class="post-metadata">

**Author:** ![kanintesova](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/kanintesova/32/31790_2.png) [@kanintesova](https://community.n8n.io/u/kanintesova)\
**Post date:** [December 1, 2023, 7:48pm UTC](https://community.n8n.io/t/the-wait-node-is-not-executing/33647/8 "2023-12-01T19:48:38Z")

</div>

Ok, I cleaned up this thread a bit.

Lesson learned: Do not fuss or mess around changing, either the db or n8n TZ settings after you have initialized ANY of them. Had to do a total fresh install - and now it seems to be working, fingers crossed.

Well I now learned how to export and import workflows and credentials via the CLI by the way. 😃

Thanks for making this awesome software! \<3

---

<div class="post-metadata">

**Author:** ![kanintesova](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/kanintesova/32/31790_2.png) [@kanintesova](https://community.n8n.io/u/kanintesova)\
**Post date:** [December 1, 2023, 10:16pm UTC](https://community.n8n.io/t/the-wait-node-is-not-executing/33647/9 "2023-12-01T22:16:54Z")

</div>

Ok I give up. Somehow one workflow is not liking the wait node, 😕

`TypeError: execution.waitTill.getTime is not a function`

And it is still waiting in the executions list. I have fired off some more executions, also did get rid of the node and inserted a new wait node, to see if something is bugged out.

Sad! ☹

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [December 2, 2023, 9:06am UTC](https://community.n8n.io/t/the-wait-node-is-not-executing/33647/11 "2023-12-02T09:06:56Z")

</div>

Hey @kanintesova,

That looks like a bug we had for a while but I thought it was fixed, Can you double check the version of n8n you are running? The ai-beta could be one of a few different versions of n8n.
