Little debug script for creating simple test job

This commit is contained in:
Sybren A. Stüvel 2022-02-21 19:47:44 +01:00
parent 90a2140b8c
commit 6043609f90

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"
}'