Is there a way to extend the UI for additionnal parameters of a custom Scheduled Job created from C# code? If so, how? If not, how would you recommand to pass user input to the scheduled job?
you can extend UI in that area (despite that source code is not available and code behind is compiled). for example this guy extends UI and adds simple small button with extra functionality.
there is also a module that enables to pass user specified parameters for the scheduled job, but... it's old and seems none cares about that problem anymore.
more info - here and here (this is for episerver 7.5).
This post does describes how to pass custom parameters to a scheduled job implementation (note the oringal post has been removed and this is the archived version):
@David - I already linked to that post
Lol sorry I didn't see that one. It's why I post my links like this: www.usefulplace.com rather than this ;)
One potential way to do this without customising the UI of the job is to store the settings on the homepage of the site. It depends on what variables you need to pass in but there are some instances where this is easier for the editors to control. An example from a site I have worked on recently was a scheduled job that generated static error pages from content items in the cms. The content item to use was selected in the settings tab of the homepage (restricted to super admin users only).
so, i guess this approach is best for when the job will need the same values each time it is run.