Skip to content

Commit 42ac5b2

Browse files
Update README.md
1 parent 4d4db10 commit 42ac5b2

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,12 @@
22
![Statamic 3.1+](https://img.shields.io/badge/Statamic-3.1+-FF269E?style=for-the-badge&link=https://statamic.com)
33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/jonassiewertsen/statamic-jobs.svg?style=for-the-badge)](https://packagist.org/packages/jonassiewertsen/statamic-jobs)
44

5-
Laravel does handle failed jobs by default, but does need a database. What if your Statamic setup does not have or need any database?
5+
Laravel does handle failed jobs by default, but does need a database. What if your Statamic setup does not have or need a database?
66
Well ... failing jobs can not be handled!
77

88
This addon does provide a simple solution for small Statamic setups:
99
A failing job will be saved as flat file in the `storage`.
1010

11-
You can access your failed jobs via the default artisan commands. Fx.:
12-
`php artisan queue:failed` <- list all failed jobs
13-
`php artisan queue:retry JOB_UUID_ID` <- Retry a given job
14-
`php artisan queue:flush` <- Flush all failed jobs
15-
1611
## NOT PRODUCTION READY JET
1712
Be aware, that this is an early version, which shouldn't be used on any production server jet.
1813

@@ -40,6 +35,12 @@ composer require jonassiewertsen/statamic-jobs
4035
// ],
4136
```
4237

38+
## Usage
39+
You can access your failed jobs via the default artisan commands. Fx.:
40+
`php artisan queue:failed` <- list all failed jobs
41+
`php artisan queue:retry JOB_UUID_ID` <- Retry a given job
42+
`php artisan queue:flush` <- Flush all failed jobs
43+
4344
## Requirements
4445
- PHP 8.0
4546
- Laravel 8

0 commit comments

Comments
 (0)