Variable poll rates

I’m self hosting on a docker machine and would like to reduce resource usage

So using a Gmail trigger it says pull every X

during the day I would like to pull every 5 minutes or so
during the night I would like to maybe go once an hour

is it possible to do this without too much effort?

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:

@bally , use custom cron expressions to achieve that. For example,

The trigger uses 3 cron expressions:

  • 0 */5 9-17 * * *: every 5 minutes from 9 AM to 6 PM
  • 0 0 18-23 * * *: every hour from 6 PM till midnight
  • 0 0 0-8 * * *: every hour from midnight till 9 AM
2 Likes

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