문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top