I’m working on a little piece of software to clean up the system. This will look similar to my backup program LBackup. To do this, I am looking for all possible areas that could be queried.
So far I have the following in mind:
Trashcan
Mail folder (spam, junk, output)
Administrative files (only with multiple inquiries due to loss of recovery)
If there are programs that are not preinstalled, that’s not a problem because I want to check any presence beforehand.
Two things come to mind:
firstly, I wouldn’t expect a system cleaner to delete any emails, ever. Some other users might have similar expectations. (The only reason for a Junk or trash folder is to be able to restore deleted emails anyway)
For system states: these currently cannot be deleted in isolation, deleting some will make others unbootable. If you know how you can mitigate that, but it is not that easy.
A tool to “compress” states might be more usefull, that is the longer away a state is the less individual states you would keep around for example. Ideally the OS should just do this itself though.
Why would you implement cron? it’s design has severall shortcomings that make it unsuited for a desktop computer. If we want a task scheduler we should just do our own imo.
I had to use cron on servers often enough to know that it’s really not fun.
Creating a own task scheduler for Haiku that’s more user-friendly is a great idea in my opinion.