MCPcopy
hub / github.com/shareAI-lab/learn-claude-code / run_schedule_cron

Function run_schedule_cron

s15_agent_teams/code.py:568–573  ·  view source on GitHub ↗
(cron: str, prompt: str,
                      recurring: bool = True, durable: bool = True)

Source from the content-addressed store, hash-verified

566# Cron tool handlers
567
568def 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
576def run_list_crons() -> str:

Callers

nothing calls this directly

Calls 1

schedule_jobFunction · 0.70

Tested by

no test coverage detected