Skip to content

Commit

Permalink
Update documentation on helper
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarx committed Jan 9, 2024
1 parent dca8d95 commit 351b6ca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions helpers/rust/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ podman cp sqid-helper:/sqid-helper .
## Configuring the jobs
This assumes that `sqid-helper` and `.logrotate.conf` are located in the tools home directory.

```bash
toolforge jobs load toolforge.yaml
```

This does the equivalent of running the following, but atomically.
```bash
toolforge jobs run sqid-update-statistics --command './sqid-helper --data-path ~/projects/sqid/data' --image bookworm --cpu 1 --mem 512M --schedule '@hourly' --emails onfailure --filelog-stdout ~/logs/sqid-update-statistics.log --filelog-stderr ~/logs/sqid-update-statistics.log
toolforge jobs run sqid-check-dump --command './sqid-helper --only=check-dump --data-path ~/projects/sqid/data' --image bookworm --cpu 1 --mem 6Gi --schedule '@hourly' --emails onfailure --filelog-stdout ~/logs/sqid-check-dump.log --filelog-stderr ~/logs/sqid-check-dump.log
Expand Down

0 comments on commit 351b6ca

Please sign in to comment.