Scheduled tasks are not saved if the project folder changes during the save
If the project folder changes while scheduled tasks are being saved, Claude Code saves nothing and says so, instead of writing them to the wrong project
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Scheduled TasksArea: what it touches
Bug FixesKind: in v2.1.331,
Bug FixesSection of the release
What
Scheduled tasks are jobs that Claude Code runs at set times, and some are saved to disk so they last between sessions. Claude Code now notes which project folder it is working in before it saves them. If the folder has changed by the time the save happens, it writes nothing and shows: "The project folder changed while the scheduled tasks were being saved, so nothing was saved. A retry uses the new folder."
This check applies when you add a task, delete a task, and when Claude Code records the last time a task ran.
Why
Scheduled tasks can no longer end up saved into the wrong project. If you see the message, retry, and the tasks are saved to the folder you are in now.