📝 — Fix server start documentation

This commit is contained in:
Luc Didry 2023-10-24 10:40:21 +02:00
parent 5bca4fa261
commit 1153d8c2b2
2 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@ Internally, a HTTP API is exposed, and a job queue is used to distribute the che
```{code-block} bash ```{code-block} bash
pip install argos-monitoring pip install argos-monitoring
argos server run argos server start
argos agent http://localhost:8000 "<auth-token>" argos agent http://localhost:8000 "<auth-token>"
``` ```
@ -67,4 +67,4 @@ developer/overview
developer/new-check developer/new-check
developer/models developer/models
``` ```

View file

@ -40,7 +40,7 @@ caption: .env
Then you can start the server: Then you can start the server:
```bash ```bash
argos server run argos server start
``` ```
The server will read a `yaml` file at startup, and will populate the tasks specified in it. The server will read a `yaml` file at startup, and will populate the tasks specified in it.
@ -62,4 +62,4 @@ Here is a crontab example:
```bash ```bash
# Run the cleaning tasks every hour (at minute 7) # Run the cleaning tasks every hour (at minute 7)
7 * * * * argos server clean --max-results 100000 --max-lock-seconds 3600 7 * * * * argos server clean --max-results 100000 --max-lock-seconds 3600
``` ```