Skip to content

Commit 7376604

Browse files
committed
updates README.md
1 parent f3ba8b1 commit 7376604

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ php artisan operations:process // process all new operation fi
5252
php artisan operations:process --sync // force syncronously execution
5353
php artisan operations:process --async // force asyncronously execution
5454
php artisan operations:process --test // dont flag operations as processed
55-
php artisan operations:process --isolated // Do not run the command if another instance of the command is already running
55+
php artisan operations:process --isolated // run command isolated
5656

5757
php artisan operations:process --queue=<name> // force queue, that the job will be dispatched to
5858
php artisan operations:process --tag=<tagname> // only process operations, that have the given tag
@@ -228,6 +228,14 @@ You can provide the `--queue` option in the artisan call. The given queue will b
228228
php artisan operations:process --queue=redis // force redis queue
229229
```
230230

231+
### Run commands isolated on Multi-Server Architecture
232+
233+
If you work with a Multi-Server Architecture you can use `--isolated` option to make sure to only run one instance of the command ([Laravel Isolatable Commands](https://laravel.com/docs/10.x/artisan#isolatable-commands)).
234+
235+
```shell
236+
php artisan operations:process --isolated
237+
```
238+
231239
### Run only operations with a given tag
232240

233241
You can provide the `$tag` attribute in your operation file:

0 commit comments

Comments
 (0)