summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-01-28 10:50:25 -0500
committerFrederic Guillot <fred@kanboard.net>2017-01-28 10:50:25 -0500
commit9357b3a4ec64fbcca58967d0319065de7d363560 (patch)
treee49c00881e4829543af80cd9c4ecfe80348670ab /doc
parent20832b439d16510bad1ac607fe5db9b338d11ea7 (diff)
Add command to execute individual job
Diffstat (limited to 'doc')
-rw-r--r--doc/cli.markdown7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/cli.markdown b/doc/cli.markdown
index 8bd5bde5..b1722308 100644
--- a/doc/cli.markdown
+++ b/doc/cli.markdown
@@ -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: