[{"data":1,"prerenderedAt":374},["ShallowReactive",2],{"navigation":3,"/features/scheduling":94,"/features/scheduling-surround":369},[4,22,39,68,81],{"title":5,"path":6,"stem":7,"children":8,"page":21},"Getting Started","/getting-started","1.getting-started",[9,13,17],{"title":10,"path":11,"stem":12},"Introduction","/getting-started/introduction","1.getting-started/1.introduction",{"title":14,"path":15,"stem":16},"Installation","/getting-started/installation","1.getting-started/2.installation",{"title":18,"path":19,"stem":20},"Workspace","/getting-started/workspace","1.getting-started/3.workspace",false,{"title":23,"path":24,"stem":25,"children":26,"page":21},"Configuration","/configuration","2.configuration",[27,31,35],{"title":28,"path":29,"stem":30},"Overview","/configuration/overview","2.configuration/1.overview",{"title":32,"path":33,"stem":34},"AI Providers","/configuration/ai-providers","2.configuration/2.ai-providers",{"title":36,"path":37,"stem":38},"Configuration Reference","/configuration/reference","2.configuration/3.reference",{"title":40,"path":41,"stem":42,"children":43,"page":21},"Features","/features","3.features",[44,48,52,56,60,64],{"title":45,"path":46,"stem":47},"Telegram","/features/telegram","3.features/1.telegram",{"title":49,"path":50,"stem":51},"Tools","/features/tools","3.features/2.tools",{"title":53,"path":54,"stem":55},"Scheduling","/features/scheduling","3.features/3.scheduling",{"title":57,"path":58,"stem":59},"Heartbeat","/features/heartbeat","3.features/4.heartbeat",{"title":61,"path":62,"stem":63},"Memory","/features/memory","3.features/5.memory",{"title":65,"path":66,"stem":67},"Skills","/features/skills","3.features/6.skills",{"title":69,"path":70,"stem":71,"children":72,"page":21},"Cli","/cli","4.cli",[73,77],{"title":74,"path":75,"stem":76},"CLI Commands","/cli/commands","4.cli/1.commands",{"title":78,"path":79,"stem":80},"Running as a Service","/cli/service-management","4.cli/2.service-management",{"title":82,"path":83,"stem":84,"children":85,"page":21},"Reference","/reference","5.reference",[86,90],{"title":87,"path":88,"stem":89},"Sessions","/reference/sessions","5.reference/1.sessions",{"title":91,"path":92,"stem":93},"Troubleshooting","/reference/troubleshooting","5.reference/3.troubleshooting",{"id":95,"title":53,"body":96,"description":362,"extension":363,"links":364,"meta":365,"navigation":366,"path":54,"seo":367,"stem":55,"__hash__":368},"docs/3.features/3.scheduling.md",{"type":97,"value":98,"toc":353},"minimark",[99,103,107,112,127,130,134,137,143,148,151,155,158,163,168,171,175,178,250,257,261,270,275,278,282,285,291,296,301,306,314,317,321,324,343,346,349],[100,101,53],"h1",{"id":102},"scheduling",[104,105,106],"p",{},"BabyClaw has a built-in scheduler that lets the agent create tasks to run at specific times or on a recurring basis. You don't configure schedules in the config file -- instead, you just ask the agent to schedule something in conversation.",[108,109,111],"h2",{"id":110},"how-it-works","How it works",[104,113,114,115,119,120,119,123,126],{},"The agent has access to scheduler tools (",[116,117,118],"code",{},"create_schedule",", ",[116,121,122],{},"list_schedules",[116,124,125],{},"cancel_schedule",") during conversations. When you say something like \"remind me to check email every morning at 9am\", the agent creates a recurring schedule using these tools.",[104,128,129],{},"When a schedule fires, the agent runs a turn with the scheduled prompt, and the result gets delivered to the original chat (or a different chat if cross-chat delivery was set up).",[108,131,133],{"id":132},"one-off-schedules","One-off schedules",[104,135,136],{},"Ask the agent to do something at a specific time:",[138,139,140],"blockquote",{},[104,141,142],{},"\"Remind me to call the dentist tomorrow at 2pm\"",[138,144,145],{},[104,146,147],{},"\"Send me a weather report at 6am on Saturday\"",[104,149,150],{},"The agent creates a one-off schedule that runs once and then is done.",[108,152,154],{"id":153},"recurring-schedules","Recurring schedules",[104,156,157],{},"Ask for something to repeat on a schedule:",[138,159,160],{},[104,161,162],{},"\"Every Monday at 9am, check my email and summarize anything important\"",[138,164,165],{},[104,166,167],{},"\"Every day at 6pm, give me a summary of what we worked on today\"",[104,169,170],{},"Recurring schedules use cron expressions under the hood. The agent handles the cron syntax -- you just describe when you want it to run. The minimum interval for recurring schedules is 5 minutes.",[108,172,174],{"id":173},"timezone","Timezone",[104,176,177],{},"Schedules use the timezone from your config:",[179,180,185],"pre",{"className":181,"code":182,"language":183,"meta":184,"style":184},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"scheduler\": {\n    \"timezone\": \"America/New_York\"\n  }\n}\n","json","",[116,186,187,196,215,238,244],{"__ignoreMap":184},[188,189,192],"span",{"class":190,"line":191},"line",1,[188,193,195],{"class":194},"sMK4o","{\n",[188,197,199,202,206,209,212],{"class":190,"line":198},2,[188,200,201],{"class":194},"  \"",[188,203,205],{"class":204},"spNyl","scheduler",[188,207,208],{"class":194},"\"",[188,210,211],{"class":194},":",[188,213,214],{"class":194}," {\n",[188,216,218,221,224,226,228,231,235],{"class":190,"line":217},3,[188,219,220],{"class":194},"    \"",[188,222,173],{"class":223},"sBMFI",[188,225,208],{"class":194},[188,227,211],{"class":194},[188,229,230],{"class":194}," \"",[188,232,234],{"class":233},"sfazB","America/New_York",[188,236,237],{"class":194},"\"\n",[188,239,241],{"class":190,"line":240},4,[188,242,243],{"class":194},"  }\n",[188,245,247],{"class":190,"line":246},5,[188,248,249],{"class":194},"}\n",[104,251,252,253,256],{},"If you don't set this, it defaults to UTC. The agent also has a ",[116,254,255],{},"get_current_time"," tool that returns the current time in the configured timezone, so it knows what \"tomorrow at 9am\" means in your local time.",[108,258,260],{"id":259},"cross-chat-delivery","Cross-chat delivery",[104,262,263,264,269],{},"If you've ",[265,266,268],"a",{"href":267},"/features/telegram#linking-chats","linked chats"," with aliases, you can ask the agent to deliver scheduled messages to a different chat:",[138,271,272],{},[104,273,274],{},"\"Every morning at 8am, send a good morning message to family-chat\"",[104,276,277],{},"The schedule runs in the context of the chat where you created it, but the output gets delivered to the target chat.",[108,279,281],{"id":280},"managing-schedules","Managing schedules",[104,283,284],{},"You can manage schedules through conversation or slash commands:",[104,286,287],{},[288,289,290],"strong",{},"In conversation:",[138,292,293],{},[104,294,295],{},"\"What schedules do I have?\"",[138,297,298],{},[104,299,300],{},"\"Cancel the morning email check\"",[104,302,303],{},[288,304,305],{},"Telegram command:",[179,307,312],{"className":308,"code":310,"language":311},[309],"language-text","/schedules\n","text",[116,313,310],{"__ignoreMap":184},[104,315,316],{},"This lists all active schedules for the current chat.",[108,318,320],{"id":319},"how-scheduled-runs-work","How scheduled runs work",[104,322,323],{},"When a schedule fires:",[325,326,327,331,334,337,340],"ol",{},[328,329,330],"li",{},"The agent starts a turn with the scheduled prompt",[328,332,333],{},"It has access to all its normal tools (workspace, shell, web search, etc.)",[328,335,336],{},"If the run produces output, it's sent to the target chat",[328,338,339],{},"The run is recorded in the database with a status (succeeded or failed)",[328,341,342],{},"If a run fails, it retries up to 3 times with delays between attempts",[104,344,345],{},"For recurring schedules, if the previous run is still going when the next one is due, the new run is skipped to prevent overlap.",[104,347,348],{},"Old schedule runs are cleaned up after 30 days.",[350,351,352],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":184,"searchDepth":191,"depth":198,"links":354},[355,356,357,358,359,360,361],{"id":110,"depth":198,"text":111},{"id":132,"depth":198,"text":133},{"id":153,"depth":198,"text":154},{"id":173,"depth":198,"text":174},{"id":259,"depth":198,"text":260},{"id":280,"depth":198,"text":281},{"id":319,"depth":198,"text":320},"One-off and recurring tasks with cron expressions and timezone support.","md",null,{},true,{"title":53,"description":362},"2R3KqVrdSoFm91UbUKKw1rX_plYA4bXh_st0wNdqNc0",[370,372],{"title":49,"path":50,"stem":51,"description":371,"children":-1},"What tools the agent has access to and how to configure them.",{"title":57,"path":58,"stem":59,"description":373,"children":-1},"Periodic agent check-ins for proactive tasks.",1771846894211]