DatabaseScheduler: Keep expires option expressed in either seconds count or datetime.