1

I have created timer job as per the article How to Create Timer Job in SharePoint 2013.

It is running fine in site collection in dev environment.

  • What are the steps to move it from dev to different environment? I was going to save site collection as a template and restore it in target farm,
  • what about the timer job? What are the steps to move it to diferent environment?
  • In Event receiver, there is a Guid. This is the Site or list Guid?

Edit:
I have list in the site collection with custom form. Timer job is created to daily check the list and send reminders etc.
Need to move both to the different environment.
So for site collection it will be: save as a template etc.
What are steps to move timer job definition?

  • Why you tried to restore all site collection ? is it require ? or you only need to move timer job to another environment ? – Mohamed El-Qassas MVP Jul 19 '16 at 13:48
  • What exactly do you mean by "moving the timer job". Do you want to move the definition or you are trying to move the running instances? Sorry to have to ask, but your notice " I was going to save site collection as a template and restore it in target farm" seems to indicate that you want to migrate the site collection too, and that made me wonder – BlueSoul Jul 19 '16 at 14:41
0

Timer Jobs resides inside an assembly and it gets executed by SharePoint Timer Windows service.

To move timer job you need to create a WSP solution in Visual Studio. In that solution add a Feature and use the Feature Activated event to install the timer job.

  • Whata about the GUID in the Event receiver section? Should it be site collection or list that timer is targeting? code that has GUID in it: namespace TimerJob.Features.TimerJobFeature { [Guid("26823a41-8eb4-4103-bab9-35554f567c8a")] public class TimerJobFeatureEventReceiver : SPFeatureReceiver{ – Ulee Jul 20 '16 at 5:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.