Expose timestamped program scheduler state and add schedule_now function