sim icon indicating copy to clipboard operation
sim copied to clipboard

[BUG] Schedule Trigger Does Not Work

Open musicAID opened this issue 3 months ago • 2 comments

Need help, why Schedule Trigger does not work? Our team is quite interested in this feature. Image

musicAID avatar Nov 10 '25 13:11 musicAID

@musicAID for schedules, you must use a CRON job that hits api/schedules/route.ts every minute, and it checks what schedules are "due" for execution and executes them.

for ex: ‘* * * * * curl -X POST http://localhost:3000/api/schedules/execute

waleedlatif1 avatar Nov 10 '25 16:11 waleedlatif1

I set up a CRON job, but it didn’t take effect. When checking the API http://localhost:3000/api/schedules/execute, it shows an error. How should this be resolved?

2025-11-11 00:33:33

"Waleed" @.***> 写道: waleedlatif1 left a comment (simstudioai/sim#1870)

@musicAID for schedules, you must use a CRON job that hits api/schedules/route.ts every minute, and it checks what schedules are "due" for execution and executes them.

for ex: ‘* * * * * curl -X POST http://localhost:3000/api/schedules/execute

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

musicAID avatar Nov 12 '25 03:11 musicAID