I've noticed with our timer triggered function, that the TimerInfo.ScheduleStatus.Next value always seems to be the current trigger time, and not the next. The documentation also says "Gets or sets the expected next schedule occurrence".
So I'm expecting the following when the cron is set to 0 */10 * * * *, and the function is triggered at 2022-07-01T09:30:00.0024370+00:00:
- Last:
7/1/2022 9:20:00 AM
- Next:
7/1/2022 9:40:00 AM
But instead I'm seeing the following:
- Last:
7/1/2022 9:20:00 AM
- Next:
7/1/2022 9:30:00 AM
Looking at this, for me last means the previous run, and next means the next run. In this case, I'm actually missing a current property.
The documentation seems to be very ambiguous in this regard. Can someone clarify what is intended here, and possibly update the documentation? Or, even better, consider adding Current and change Last to Previous.
I've noticed with our timer triggered function, that the TimerInfo.ScheduleStatus.Next value always seems to be the current trigger time, and not the next. The documentation also says "Gets or sets the expected next schedule occurrence".
So I'm expecting the following when the cron is set to
0 */10 * * * *, and the function is triggered at2022-07-01T09:30:00.0024370+00:00:7/1/2022 9:20:00 AM7/1/2022 9:40:00 AMBut instead I'm seeing the following:
7/1/2022 9:20:00 AM7/1/2022 9:30:00 AMLooking at this, for me last means the previous run, and next means the next run. In this case, I'm actually missing a current property.
The documentation seems to be very ambiguous in this regard. Can someone clarify what is intended here, and possibly update the documentation? Or, even better, consider adding
Currentand changeLasttoPrevious.