Steps to reproduce
- Open the task scheduler in Ametys
- Create a new task to wipe a user related cache, for example :

- Reboot Ametys
Expected behavior
The aforementioned task still points to the previously selected cache after restarting Ametys.
Actual behavior
The task "forgets" the selected cache and resets to the default state.
