more details on scheduling

This commit is contained in:
jbruce 2022-11-04 13:20:16 -04:00
parent 043f438ca3
commit 7495cd5245

View File

@ -17,9 +17,7 @@ Verify the date and time and time zone are right on your system...
date date
Fri 04 Nov 2022 01:01:14 PM EDT If yours looks right, proceed to **Examples**. If not, you need to execute commands to set it. On a raspberry-pi, this is easiest by running...
If yours looks right, proceed to Examples. If not, you need to execute commands to set it. On a raspberry-pi, this is easiest by running
sudo raspi-config sudo raspi-config
@ -28,7 +26,7 @@ Localisation Options -> Timezone -> Pick one -> Ok
## Examples ## Examples
Start a biscuit firing at 5am tomorrow morning... Start a biscuit firing at 5am Friday morning...
at 5:00am friday <<END at 5:00am friday <<END
curl -d '{"cmd":"run", "profile":"cone-05-long-bisque"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api curl -d '{"cmd":"run", "profile":"cone-05-long-bisque"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api
@ -41,6 +39,18 @@ Start a glaze firing in 15 minutes and start a kiln watcher...
source ~/kiln-controller/venv/bin/activate; ~/kiln-controller/watcher.jbruce.py source ~/kiln-controller/venv/bin/activate; ~/kiln-controller/watcher.jbruce.py
END END
Start a biscuit fire at 1a tomorrow, but skip the first two hours [120 minutes] of candling because I know my wares are dry...
at 1am tomorrow <<END
curl -d '{"cmd":"run", "profile":"cone-05-long-bisque","startat":120}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api
END
Stop any running firing at 3pm tomorrow...
at 3pm tomorrow <<END
curl -d '{"cmd":"stop"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api
END
List scheduled jobs... List scheduled jobs...
atq atq