Hi everyone! I’m new to Prefect, and whenever I ne...
# ask-community
t
Hi everyone! I’m new to Prefect, and whenever I need to shut down my server for economic reasons, the next day when I start it up again all the schedules are pending, and when I start the workers they immediately begin executing the tasks. How can I make it so that when I start a worker, it doesn’t immediately start processing the pending tasks?
b
One way to do this is to pause your work pool. Unpause the work pool when you're ready for all the jobs to be executed after you start everything up again. This doesn't pause the deployment schedules, but it will stop the work from being immediately run when your server starts. You'll see run marked as "Late" when your server starts up before the work pool is unpaused.