This a simple boilerplate for deploying a NodeJS Cron Job in AWS server less service (Lambda function)
This cron job will be triggered every minute and will log "Hello world"
Install and configure the Serverless Framework
$ npm install -g serverless
Configure Serverless Framework with your AWS credentials
$ sls config credentials --provider aws --key PUBLIC_KEY --secret SECRET_KEY
$ sls deploy
$ serverless logs --function hello --tail