# NousResearch/hermes-agent · Cron job repeat string values causing type errors

## Open now

- 0 issues, 3 PRs open on GitHub.
- PR #41627: fix(cron): guard repeat/times against non-int type coercion
- PR #41680: fix(cron): guard repeat/times against non-int type coercion
- PR #57550: fix(cron): normalize string repeat values

Most members concern the cron tool receiving string values like 'forever' or 'once' for repeat/times where an integer is expected, causing a str-vs-int TypeError, with several proposed coercion or normalization changes. One member is about how bare '30m' schedules versus 'in 30m' are interpreted, which appears to be a separate scheduling topic.

## TL;DR

- 13 member(s): 0 open issue(s), 4 closed issue(s), 3 open PR(s), 2 merged PR(s), 4 PR(s) closed without merging.
- A fix was merged to main in PR #98290. Verify it addresses your case.
- **Recommended:** read PR #98290 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.17`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #7142: \[TESTED FIX\] TypeError when repeat='once' passed to cronjob create (string-to-int coercion missing)
- #41611: cronjob: guard repeat/times against non-int type coercion
- #64520: Bug: cronjob tool rejects repeat="forever" with str vs int type error
- #66824: \[Bug\]: cronjob create with repeat='forever' fails: '<=' not supported between instances of 'str' and 'int'

## Prior & competing PRs

- **#98275: fix(cron): bare '30m' schedules recur as documented; 'in 30m' is the one-shot (salvage #78928)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `cron/jobs.py`, `tests/cron/test_claim_job_for_fire.py`, `tests/cron/test_jobs.py`, `tests/cron/test_oneshot_dispatch_failure_run_claim.py`, `tests/cron/test_terminal_job_rearm.py`, `tests/hermes_cli/test_web_server_cron_profiles.py`, `tests/test_timezone.py`, `tools/cronjob_tools.py`, `website/docs/user-guide/features/cron.md`
- **#98290: fix(cron): repeat='forever' no longer breaks job updates (completes the string-repeat class)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `cron/jobs.py`, `tests/cron/test_jobs.py`, `tools/cronjob_tools.py`
- **#7216: fix(cron): normalize string repeat values**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `89b38ed734`, `52e5e7c034`, `#98275`, `#98290`, `#7142`
- **#7589: fix(cron): coerce repeat parameter to int to prevent TypeError**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#7513`
- **#41627: fix(cron): guard repeat/times against non-int type coercion**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `cron/jobs.py`, `tests/tools/test_cronjob_tools.py`, `tools/cronjob_tools.py`
- **#41680: fix(cron): guard repeat/times against non-int type coercion**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `cron/jobs.py`, `tests/test_issue_41611_fix.py`, `tools/cronjob_tools.py`
- **#57550: fix(cron): normalize string repeat values**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#7216`, `#7142`, `#41627`
  - files: `cron/jobs.py`, `tests/cron/test_jobs.py`, `tests/tools/test_cronjob_tools.py`, `tools/cronjob_tools.py`
- **#64724: fix(cron): accept forever/infinite string for repeat (#64520)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`
- **#77366: fix(cron): coerce string repeat values ('forever'/'once') on create and update**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#98275`, `#78928`, `#98290`, `#7216`

## Fix status

- Merged to main in PR #98290 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-30`.
- Subsystem: `cron`
