Had to add back the creation of patching customer into apscheduler and change to use timetuple for datetime, since on python 2,7 .totalseconds is not supported