configuring scheduler as worker instead of executable