# bunqueue v2.6.85

skipIfNoWorker.

Canonical: https://bunqueue.dev/blog/bunqueue-v2-6-85/

---

<!-- Generated from changelog.md by docs/scripts/generate-release-posts.ts. Edit the changelog and regenerate. -->

skipIfNoWorker.

#### To install bunqueue v2.6.85

```bash title="bun"
bun add bunqueue@2.6.85
```

```bash title="npm"
npm install bunqueue@2.6.85
```

#### To upgrade bunqueue

```bash
bun add bunqueue@latest
```

## `skipIfNoWorker`

Option for cron jobs ([#65](https://github.com/egeominotti/bunqueue/issues/65)), when enabled, the cron scheduler skips job creation if no workers are registered for the target queue. Prevents job accumulation when clients go offline while the server keeps running. Works in both embedded and TCP modes.

## More additions

- Schema migration v9: `skip_if_no_worker` column on `cron_jobs` table

---

[← bunqueue v2.6.84](https://bunqueue.dev/blog/bunqueue-v2-6-84/) · [Full changelog](https://bunqueue.dev/changelog/) · [All posts](https://bunqueue.dev/blog/)
