pull/123/head
jbruce 2022-11-04 13:27:00 -04:00
rodzic 7495cd5245
commit a446d05e30
1 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -13,7 +13,7 @@ This installs and starts the **at** scheduler.
### Verify Time Settings
Verify the date and time and time zone are right on your system...
Verify the date and time and time zone are right on your system:
date
@ -26,26 +26,26 @@ Localisation Options -> Timezone -> Pick one -> Ok
## Examples
Start a biscuit firing at 5am Friday morning...
Start a biscuit firing at 5am Friday morning:
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
END
Start a glaze firing in 15 minutes and start a kiln watcher...
Start a glaze firing in 15 minutes and start a kiln watcher. This is really useful because the kiln watcher should page you in slack if something is wrong with the firing:
at now +15 minutes <<END
curl -d '{"cmd":"run", "profile":"cone-6-long-glaze"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api
source ~/kiln-controller/venv/bin/activate; ~/kiln-controller/watcher.jbruce.py
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...
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...
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