I was trying to be smart ( clearly not smart ) used an expression to set the interval ( seconds ) and its forcing the cpu to 100% - as such i cant get the web interface to respond, the browser just times out.
After a lot of effort, i can get the ssh to connect very slowly…
Is there a way to remove the expression or stop the interval( stop the cron?? ) or disable the workflow or anything else similar, from the command line… i was thinking disabling the workflow from the db??
but how do I do any of that from the command line.
Using an expression to set the interval shouldn’t break it so it would be nice to know what you were using for the expression.
If the workflow is activated you could try using the cli in the container to disable the workflow but if it isn’t enabled and is causing issues you could try exporting the workflows with the cli then deleting the database and starting again with the workflow exports.
I have just given it a go just because I am curious to know what value it will use for the schedule as we register the schedule when you click activate and I am not sure what a dynamic value would actually do.
How long did it take to crash for you and are you using the schedule node or an older interval node?
the web interface died almost immediately… hence i assumed it was this… however if it uses the value at activate i guess thats not executing this code over and over, so maybe something else is wrong?? but she is still running along at 100% and cant even get the command line just now! i am using interval not schedule.
What version of n8n are you running? We removed the interval node from the node list a while back or did you find it from a workflow template?
As you are using Docker you would first need to access the container so it could be something like the below where the first n8n is the name of the container.