WindmillWWindmill
Powered by
tl_jacobT
Windmill•5mo ago•
1 reply
tl_jacob

Perpetual Scripts in dev

Hey team! I'm looking to use perpetual scripts to run a job queue listener (similar to this example), but I'd like a clean way to disable it in my dev environment (don't want a perpetual worker constantly running locally).
Is there a recommended pattern for this? Ideally something like:

- A config flag or environment variable that prevents the perpetual script from starting
- Or a way to conditionally enable/disable perpetual scripts per environment

Currently considering just wrapping my listener in an env check, but I think I'll still run into the problem of the job just repeatedly restarting.

Thanks!
Running services with perpetual scripts | Windmill
Perpetual scripts restart upon ending unless canceled.
WindmillJoin
3,388Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

We're live here https://discord.com/channels/930051556043276338/1278977038430240813

henri-c · 2d ago

rubenf

Infrastructure as code

rubenf · 3w ago

rubenf

As we're preparing for a new Windmill sandbox SDK, we took the opportunity **to open-source NSJAIL sandboxing** and make it available in CE and easier to set. In 1.634.0, just set nsjail to benefit from the tightest security and isolation per job. It's constraining so no need to use it unless you need but now you won't be restricted in security for CE if you need to.

rubenf · 4w ago

Similar Threads

Using perpetual script to trigger flow
TwoToTooTTwoToToo / help
6mo ago
Skip auto-registering scripts in wmill
pixeleetPpixeleet / help
2y ago
Sourcing PowerShell scripts from other PowerShell scripts
DannlyDDannly / help
2y ago
How to sync scripts from windmill cloud to local dev machine
CasperCCasper / help
14mo ago