Local File Trigger Question


In Local File Trigger node you have an option that says Use Polling.

How is this used when the node iteself can not monitor remote directories but only local? What is the purpose of this option if it is enabled? Am i missing something?

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:

@Jon Sorry to tag you. Any idea about this?

Hey @Mulen,

I believe the Use Polling option is used for network shares when running n8n from npm, the below is from the documentation for the package we use which may help.

usePolling (default: false). Whether to use fs.watchFile (backed by polling), or fs.watch. If polling leads to high CPU utilization, consider setting this to false. It is typically necessary to set this to true to successfully watch files over a network, and it may be necessary to successfully watch files in other non-standard situations. Setting to true explicitly on MacOS overrides the useFsEvents default. You may also set the CHOKIDAR_USEPOLLING env variable to true (1) or false (0) in order to override this option.

1 Like

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