r/cursor • • 8d ago

Feature Request Scheduling in local agent

Why is there no scheduling option for local agents? I can't run cloud agents due to company policy. Why can't we schedule tasks in Cursor locally? Please implement this feature request.

4 Upvotes

6 comments sorted by

2

u/Agent360dk 8d ago

Not built in, but you can fake it. Cursor has a CLI (cursor-agent) with a non-interactive print mode, so a cron job or launchd plist on your machine can call it with a prompt on whatever schedule you want, and it all stays local. Just make sure the machine is awake at that time and you've scoped what it's allowed to edit, since nobody is there to approve things.

1

u/abdmajd 6d ago

Unfornately our company company doesn't allow api keys to be used

1

u/AliyasDandani_64 7d ago

what kind of tasks are you trying to run on a schedule? usually the editor is built around active human-in-the-loop review, so unattended local runs get tricky when it needs permission to execute commands or resolve a bad diff

1

u/abdmajd 6d ago

Like a small code change you have to do weekly. We could create some dev containers locally for that project and allow it to do anything without asking for permission. Also curious, wouldn't the restriction that you mentioned be the same when using cloud agents?

1

u/ClickableName 8d ago

You might add your local machine as cloud agent runner, then it will run local

1

u/Guilty_Spray_6035 7d ago

Local - you mean one configured as local worker connected to the cloud? Grok bot can talk to them, and can schedule things for it