function(cron, crons, server) {
  if(!containCron(cron.id, crons)) {
    server.crons.push(cron);
  } else {
    logger.warn('cron is duplicated: %j', cron);
  }
}
function(cron, crons, server) {
  if(!containCron(cron.id, crons)) {
    server.crons.push(cron);
  } else {
    logger.warn('cron is duplicated: %j', cron);
  }
}
function ( cron , crons , server ) { if ( ! containCron ( cron . id , crons ) ) { server . crons . push ( cron ) ; } else { logger . warn ( 'cron is duplicated: %j' , cron ) ; } }
If cron is not in crons then put it in the array.
If cron is not in crons then put it in the array .
Add a cron to the server