function (naptime) {
    var sleeping = true
    var now = new Date()
    var alarm
    var startingMSeconds = now.getTime()
    while (sleeping) {
      alarm = new Date()
      var alarmMSeconds = alarm.getTime()
      if (alarmMSeconds - startingMSeconds > naptime) { sleeping = false }
    }
  }
function (naptime) {
    var sleeping = true
    var now = new Date()
    var alarm
    var startingMSeconds = now.getTime()
    while (sleeping) {
      alarm = new Date()
      var alarmMSeconds = alarm.getTime()
      if (alarmMSeconds - startingMSeconds > naptime) { sleeping = false }
    }
  }
function ( naptime ) { var sleeping = true var now = new Date ( ) var alarm var startingMSeconds = now . getTime ( ) while ( sleeping ) { alarm = new Date ( ) var alarmMSeconds = alarm . getTime ( ) if ( alarmMSeconds - startingMSeconds > naptime ) { sleeping = false } } }
////////////// DEFINE JOBS // //////////////
////////////// DEFINE JOBS // //////////////