I want to get next run time for my agent. I tried your solution but it didn't work. He is not telling how can I use pzLastRunStart and pzLastRunFinish. I used in the report definition but it didn't work.
I think last run time or next run time information is kept in the database. I need these informations on DB layer.