Add command to execute individual job

This commit is contained in:
Frederic Guillot
2017-01-28 10:50:25 -05:00
parent 20832b439d
commit 9357b3a4ec
5 changed files with 46 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ Options:
Available commands:
cronjob Execute daily cronjob
help Displays help for a command
job Execute individual job (read payload from stdin)
list Lists commands
worker Execute queue worker
db
@@ -207,6 +208,12 @@ Note: Installed files will have the same permissions as the current user
./cli worker
```
### Execute individual job (mostly for debugging)
```bash
echo 'RAW_JOB_DATA' | ./cli job
```
### Execute database migrations
If the parameter `DB_RUN_MIGRATIONS` is set to `false`, you have run the database migrations manually: