ENH: Makes schedule_function work in daily mode.