title: Execute a TimerJob from an event receiver handling list item changing
body: <p>I have an <code>Event Receiver</code> that is attached to some change in a item list. This event receiver does things that consumes a lot of procedure. I want to run it under the process <code>OWSTIMER.EXE</code> and not <code>W3WP.EXE</code>, it seems that in <code>Sharepoint 2013</code> the events receivers run under <code>W3WP.EXE</code>. I found <a href="https://stackoverflow.com/q/33613342/3669309">this question</a> because I wanted to do the same, but nobody answers.
  Because of that problem with the different process that I want to run under, I created a <code>TimerJob</code> <a href="http://www.codeproject.com/Tips/634208/Create-and-Deploy-Custom-Timer-Job-Definition-in-S" rel="nofollow noreferrer">this way</a> that looks at the items on my list and does the same thing that before did the first event receiver. This is working, and is running under <code>OWSTIMER.EXE</code> the way I want.
  Now, the thing I want to do is, execute that TimerJob from my old event receiver (not the one I create to run this timerJob, like in the example), just because this list is not going to change frequently, and I want the process running, when it changes.
  (The thing I want, is hacking <code>SharePoint</code> to run an <code>Event Receiver</code> in <code>OWSTIME.EXE</code>)</p>
  
  <p>Can I do that?</p>
  
  <p>Thanks in advance.</p>
  
  <p>in the example, the event receiver:</p>
  
  <pre><code>public override void FeatureActivated(SPFeatureReceiverProperties properties)
          {
              try
              {
                  SPSecurity.RunWithElevatedPrivileges(delegate()
                  {
                      SPWebApplication parentWebApp = (SPWebApplication)properties.Feature.Parent;
                      SPSite site = properties.Feature.Parent as SPSite;
                      DeleteExistingJob(JobName, parentWebApp);
                      CreateJob(parentWebApp);
                  });
              }
              catch (Exception ex)
              {
                  throw ex;
              }
          }
  </code></pre>
  
  <p>my <code>Event Receiver</code>(that run onther <code>w3wp.exe</code>):</p>
  
  <pre><code>    public override void ItemUpdated(SPItemEventProperties properties)
              {
                  base.ItemAdded(properties);
                  //here it does the same that do the Timer Job(but with that item)
                  //here I want to execute my TimerJob. This is possible?
  
              }
  </code></pre>