Little debug script for creating simple test job
This commit is contained in:
parent
90a2140b8c
commit
6043609f90
18
debug-job-echo.sh
Executable file
18
debug-job-echo.sh
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
curl -X 'POST' \
|
||||
'http://localhost:8080/api/jobs' \
|
||||
-H 'accept: application/json' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{
|
||||
"metadata": {
|
||||
"user.name": "Sybren Stüvel"
|
||||
},
|
||||
"name": "Talk & Sleep",
|
||||
"priority": 50,
|
||||
"settings": {
|
||||
"sleep_duration_seconds": 3,
|
||||
"message": "{blender}"
|
||||
},
|
||||
"type": "echo-sleep-test"
|
||||
}'
|
Loading…
Reference in New Issue
Block a user