(cron: str, prompt: str,
recurring: bool = True, durable: bool = True)
| 566 | # Cron tool handlers |
| 567 | |
| 568 | def run_schedule_cron(cron: str, prompt: str, |
| 569 | recurring: bool = True, durable: bool = True) -> str: |
| 570 | result = schedule_job(cron, prompt, recurring, durable) |
| 571 | if isinstance(result, str): |
| 572 | return f"Error: {result}" |
| 573 | return f"Scheduled {result.id}: '{cron}' → {prompt}" |
| 574 | |
| 575 | |
| 576 | def run_list_crons() -> str: |
nothing calls this directly
no test coverage detected