Skip to content

Commit 351b6ca

Browse files
committed
Update documentation on helper
1 parent dca8d95 commit 351b6ca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

helpers/rust/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ podman cp sqid-helper:/sqid-helper .
1717
## Configuring the jobs
1818
This assumes that `sqid-helper` and `.logrotate.conf` are located in the tools home directory.
1919

20+
```bash
21+
toolforge jobs load toolforge.yaml
22+
```
23+
24+
This does the equivalent of running the following, but atomically.
2025
```bash
2126
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
2227
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

0 commit comments

Comments
 (0)