Skip to content

jobs: add scheduled jobs CLI commands to Quick Reference table#97

Merged
burtenshaw merged 1 commit intohuggingface:mainfrom
mishig25:fix/jobs-scheduled-cli-reference
Mar 23, 2026
Merged

jobs: add scheduled jobs CLI commands to Quick Reference table#97
burtenshaw merged 1 commit intohuggingface:mainfrom
mishig25:fix/jobs-scheduled-cli-reference

Conversation

@mishig25
Copy link
Copy Markdown
Contributor

@mishig25 mishig25 commented Mar 22, 2026

Summary

  • Replace - placeholders with actual CLI commands for scheduled job operations
  • Add list scheduled and delete scheduled rows for completeness

The Quick Reference table previously showed - for the CLI column on scheduled jobs, but these CLI commands exist.

Source reference (huggingface_hub@b23f3e04)

Scheduled job CLI commands are defined in cli/jobs.py L842–L1055:

  • hf jobs scheduled run (L842)
  • hf jobs scheduled ps (L889)
  • hf jobs scheduled inspect (L995)
  • hf jobs scheduled delete (L1020)
  • hf jobs scheduled suspend (L1032)
  • hf jobs scheduled resume (L1044)
  • hf jobs scheduled uv run (registered via scheduled_uv_app)

Note

list_scheduled_jobs is referenced in the Python API column but is not exported in huggingface_hub/__init__.py (all other scheduled job functions are). This is a separate bug in huggingface_hub itself.

Test plan

  • Verify CLI commands match hf jobs scheduled --help output

🤖 Generated with Claude Code

The Quick Reference table showed `-` for scheduled job CLI commands,
but they exist in cli/jobs.py L842–L1055:
- `hf jobs scheduled uv run`
- `hf jobs scheduled run`
- `hf jobs scheduled ps`
- `hf jobs scheduled delete`

Also added list/delete scheduled rows for completeness.

Verified against huggingface_hub@b23f3e04.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@burtenshaw burtenshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks.

@burtenshaw burtenshaw merged commit e50d0eb into huggingface:main Mar 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants