Provide a way to automatically install / set up a task upon installation of an extension
It'd be useful to have a way to automatically set up a task when installing an extension.
For example in the Solr extension I have a task that optimizes the Solr search index. Now it'd be nice to have such a task set up when installing that extension.
That'd also be useful for tasks that ship with the core (once we do that).
#10 Updated by Ingo Renner almost 4 years ago
If the task can only be added as disabled then there's no point in having it really. After all you want to do certain things periodically for a reason. Yes, of course someone could do stupid things with it, but there are enough ways to do that otherwise as well. Let's try to trust people first.
An alternative would be to have a popup during installation similar to those dialogs you find with OAuth... Application FooBar would like to do A, B, and C. Which of these things do you want to allow? (All checked by default). This would be super user friendly. Something would need to get figured out for non-backend EM installations.