openclaw/src/cli/cron-cli
spiceoogway 807624a812 fix: handle both jobId and id in cron list to prevent crash
Fixes #4373

The printCronList function was crashing when accessing job.id because
the Gateway API may return jobId instead of id depending on the version
or context. This adds a defensive check that tries jobId first, then
falls back to id, then to empty string.

Changes:
- src/cli/cron-cli/shared.ts: Extract id with type assertion to handle
  both jobId and id properties, preventing TypeError on .padEnd()
2026-01-30 00:42:04 -05:00
..
register.cron-add.ts fix: clean docker onboarding warnings + preserve agentId casing 2026-01-24 19:07:01 +00:00
register.cron-edit.ts fix: clean docker onboarding warnings + preserve agentId casing 2026-01-24 19:07:01 +00:00
register.cron-simple.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
register.ts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
shared.ts fix: handle both jobId and id in cron list to prevent crash 2026-01-30 00:42:04 -05:00