Skip to content

Commit

Permalink
updates README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoKoerber committed Apr 19, 2023
1 parent f3ba8b1 commit 7376604
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ php artisan operations:process // process all new operation fi
php artisan operations:process --sync // force syncronously execution
php artisan operations:process --async // force asyncronously execution
php artisan operations:process --test // dont flag operations as processed
php artisan operations:process --isolated // Do not run the command if another instance of the command is already running
php artisan operations:process --isolated // run command isolated

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

### Run commands isolated on Multi-Server Architecture

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)).

```shell
php artisan operations:process --isolated
```

### Run only operations with a given tag

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

0 comments on commit 7376604

Please sign in to comment.