As a general rule, you have to find a task webmasters do all the time, hate, and can be automated and then write the program doing just that. 
The second best would be something that would be nice to do, but is too much fucking work if you have to do it yourself.
What that is, I don't know. If I knew, I'd have it programmed already. 
