title: Automate the already build google dataflow pipeline in eclipse
body: <p>I have created a dataflow pipeline in java using eclipse, also I have the jar file of my pipeline application kept in google storage. </p>
  
  <p>My requirement is to automate the whole process, As per my understanding this can be done by creating a cron job or by creating a template. Can anyone provide a better understanding about how it can be done ?</p>
  
  <p><strong>EDIT</strong> :  getting error in StarterPipeline.run();<br>
  <strong>ArtifactServlet.java</strong></p>
  
  <pre><code>package my.proj;
  import java.io.IOException;
  import javax.servlet.http.HttpServlet;
  import javax.servlet.http.HttpServletRequest;
  import javax.servlet.annotation.WebServlet;
  import javax.servlet.http.HttpServletResponse;
  
  @WebServlet(name = "ArtifactServlet", value = "/home/support/Ad-eff")
  public class ArtifactServlet extends HttpServlet {
  
  @Override
  public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {
  StarterPipeline.run();
  }
  }
  </code></pre>