Set workflow to run for a specific duration

Set workflow to run for a specific duration

Hi all,

I would like some help on what a cron expression should look like to run the workflow every 2 hours in specific minutes.

For example: At minute 5 every 2 hours

Any help on this one with n8n. Thanks!

  • n8n version: 0.142.0
  • Running n8n via [Docker, npm,, desktop app]: npm

Hi @gersonofm, welcome to the community!

You can use pages such as to generate suitable cron expressions to be used in the Cron node. For your example the expression should be 5 */2 * * *:

That said it seems you are using a rather old version of n8n, so I couldn’t test it firsthand. It might be worth considering an update, a lot has changed since version 0.142.0.

It works.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.