Set a define when job agency worker is running

Similar to `WP_CLI`, it's handy to be able to check in the executing code is in a running job