title: Calling a service on startup in a Play application
body: <p>I have a Play 2.4 application. Trying to kick off a weekly task when application starts. The current recommendation is to do that in a constructor for an eagerly injected class (Guice). However, my task needs access to a service. How can I inject that service into my task without getting an error: </p>
  
  <pre><code>Error injecting constructor, java.lang.RuntimeException: There is no started application
  </code></pre>
  
  <p>?</p>