title: How to use cURL and mail in AWS Lambda
body: <p>I run a Linux machine with 50+ hourly cron jobs of the format:</p>
  
  <pre><code>00 00 * * * /usr/bin/curl http://domain.com/page.php/reports | mail -s "domain.com report cron successful execution" email@otherdomain.com
  </code></pre>
  
  <p>The above cron:</p>
  
  <ol>
  <li>sends the output of <strong>curl</strong> command to pipe</li>
  <li>mail the output to <strong>email@otherdomain.com</strong> with subject line <strong>"domain.com report cron successful execution"</strong></li>
  </ol>
  
  <p>How can I set these cron to use with AWS Lambda, as I do not want a separate server just for these cron jobs.</p>
  
  <p>If this is possible, I can setup AWS SES to work with this.</p>