Domanda

i have created a TimerJob which can be configured in the central administration how it should run (daily, weekly, etc).

But now i have a additional requirement that a user should be able to start the job manually out of the frontend (a site in a sitecollection).

a) is that possible? and if yes, how to achieve this? b) how to re-design this that it fulfills the requirements?

br Yavuz

È stato utile?

Soluzione

This question is same as yours.

as stated in this question you can create another timer job to set some flag status and run your actual timer job.

To run a Timer Job a user must have Farm Admin rights, so even writing the code to run in elevated privileges will not work either.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top