Skip to content

Commit d8e6e32

Browse files
committed
fix(module-11): add -p track-c to all hermes cron create commands (skill lookup requires profile)
1 parent 703cab2 commit d8e6e32

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

course-site/docs/module-11-triggers/lab/LAB-track-c-kubernetes.mdx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,19 @@ Cron expressions use the standard five-field format: `minute hour day-of-month m
7474
Create a daily health check cron job that runs a Kubernetes pod health check across all namespaces:
7575

7676
```bash
77-
hermes cron create "0 8 * * *" \
77+
hermes -p track-c cron create "0 8 * * *" \
7878
"Run morning pod health check across all namespaces. Report only if pods or nodes show issues." \
7979
--name "daily-k8s-check" \
8080
--skill "sre-k8s-pod-health" \
8181
--deliver local
8282
```
8383

84+
:::caution Profile flag is required
85+
The `-p track-c` flag tells Hermes to use the Track C profile, which has the
86+
`sre-k8s-pod-health` skill installed. Without it, the cron job runs under the default
87+
profile and will report "skill not found" — producing an empty output file.
88+
:::
89+
8490
### What each argument does
8591

8692
| Argument | Purpose |
@@ -716,7 +722,7 @@ Choose challenges based on your available time and experience level.
716722
Create a cron job that checks pods across both `kube-system` and `default` namespaces:
717723

718724
```bash
719-
hermes cron create "*/5 * * * *" \
725+
hermes -p track-c cron create "*/5 * * * *" \
720726
"Run pod health check across kube-system and default namespaces. Report pod counts, restart counts, and any non-Running pods." \
721727
--name "cross-namespace-check" \
722728
--skill "sre-k8s-pod-health" \
@@ -816,7 +822,7 @@ Open a PR that modifies a YAML file in your test repo. The agent should:
816822
```bash
817823
# Cron management
818824
hermes cron status # Always run at session start
819-
hermes cron create "<schedule>" "<prompt>" --name ... --skill ... --deliver local
825+
hermes -p track-c cron create "<schedule>" "<prompt>" --name ... --skill ... --deliver local
820826
hermes cron list
821827
hermes cron run <job-id> # Manual fire (use ID from cron list, not name)
822828
hermes cron pause <job-id>

0 commit comments

Comments
 (0)