Deleted Scheduler still executing Server Action (Node.js Project)

Hi everyone,

I’m encountering a strange issue with a Scheduler in a Node.js project.

The Situation: I created a Scheduler to trigger a Server Action that handles API requests (SEO ranking checks). After finishing my tests, I deleted the Scheduler via the Wappler UI (Globals > Workflows).

The Problem: Even though the Scheduler no longer exists in the Wappler interface and the corresponding JSON configuration file seems to be gone, the Server Action is still being executed on the previously defined interval. I can see the outgoing API calls and the database updates in my logs.

It seems like the schedule is still "stuck" in the Node.js memory or the internal manager that handles the cron jobs.

What I've tried:

  • Deleted the Scheduler in Wappler.

  • Saved all files and deployed.

  • Checked that the scheduler JSON file is removed from the project folder.

  • Restart the Sserver

I would prefer a solution that doesn't require a full restart every time a schedule is modified or removed. Any insights would be greatly appreciated!

Thanks in advance

Have you tried using the publish feature to deploy to both local and remote?

I initially tried increasing the interval from 10 minutes to 10 days, but the Scheduler kept firing every 10 minutes regardless. I then attempted to redeploy the updated schedule multiple times via Wappler, with no success.

Even after manually deleting the scheduler's JSON file directly from the server, the process continued to execute. As a temporary workaround to stop API costs, I have now set all keywords in my database to 'inactive'. It seems the original schedule is stuck in the Node.js memory and completely ignores the fact that the configuration file is gone.

How is your nodejs app running on your remote server? With a hosting panel or docker?

as the node server needs to be restarted - and usually this happens on publish

I'm using a hosting panel.

After a few attempts and server restarts, it seems to have worked.

Occasionally it works perfectly, but whenever I change something and re-upload, it's hit or miss. I always restart the server.

The cron values ​​in config.json also keep reverting to "false," so I have to keep re-enabling it.

"debug": true,
"cron": false,

Can I fix this somewhere?

On your previous topic where I told you:

Maybe you changed the remote file, but on local you don't have the same?
With that, maybe on publish you're uploading something is not expected

Also, I don't understand this part:

The title says that the problem is that your deleted scheduler is still executing, so what is the issue that cron is set to false?