Fix the switched configuration
[what] Fix moment().subtract() and moment().add() warning for running batch
[what] When first batch run finish, shell script will get a trap.
[why]  batch.js used process.kill().
[how]  change process.kill() to process.exit(0).
[what] add mail of running batch script finished