mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
📝 — Fix server start documentation
This commit is contained in:
parent
5bca4fa261
commit
1153d8c2b2
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue