title: trigger Java EE batch from cron
body: <p>JavaEE 7 appservers support batch operations implementing JSR 352 (Glassfish and Wildfly do).</p>
  
  <p>What is a good way to start batch operations from Unix cron?</p>
  
  <ul>
  <li>exec wget/curl a rest servlet that starts the batch</li>
  <li>exec java that calls via JMX the appserver (slow java start, is there a JMX for C?)</li>
  <li>??</li>
  </ul>