Closed martijn94 closed 6 years ago
Hi, thanks for the feedback!
What exactly is the use case for this? At a guess, you'd like to monitor exactly what a job is doing when in development to test output/etc? If so, the best option might be to schedule a job, but stop the Runner. This lets you run jobs individually by using wp cavalcade run <id>
(in multisite, you'll need to pass the right --url
for the site too).
It's unlikely that we'll add a synchronous mode, as it kind of breaks the encapsulation of jobs; we run jobs through wp-cli
specifically to ensure they're running in a clean environment.
Fail enough, makes sense. Thanks!
Hi Ryan/Humanmade
First of all thanks for creating this, have been looking for something like this for a while to have better job/queue management.
Coming from Laravel I have the feature request to run tasks sync on local/staging environments for easier development/debugging.
An other workaround suggestion would also be appreciated!
Thanks!