Hi,
Please find an updated patch that fixes a bug in 'next_schedule' function
where minute should be extracted instead of year for calculation.
Issue found by: Vik Fearing
Please find the attached patch that fixed the issue in respective pgagent
files and updated pgagent for 4.2 version.
Do review it and let me know for comments.
Thanks,
Neel Patel