If a scheduled task overruns into its 'Next Run' time, the 'Next Run' time is not updated and the task does not run again.
1. Configure an 'Execute Script' task with the attached script. It is coded to run for ~5minutes.
2. Configure a cron expression for the task frequency so that it runs every 2 minutes i.e. 0 0/2 * 1/1 * ? *
As the task runs for 5 minutes, it goes past its next run time which does not get updated and the task does not run after its first run.