<table><tr><td style="">TallFurryMan created this revision.<br />Restricted Application added a project: KDE Edu.<br />Restricted Application added a subscriber: kde-edu.<br />TallFurryMan requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D13009">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Straightforward fix to properly execute jobs when they repeat or are duplicated.</p>

<p>While checking the interesting edge case of captures stored in /tmp being immediately deleted, I made sure jobs being evaluated with no repeats remaining, but for some reason still not completed, would properly be re-checked for captures.<br />
I also added a safeguard to avoid having the repeats remaining getting unexpectedly negative.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Using 'duplicated_scheduler_jobs_no_twilight', 'duplicated_scheduler_jobs_duplicated_sequence_jobs_no_twilight', job list will properly complete, in the right order.<br />
Warning! There is an issue with captures when the .esq file is configured to stored to '/tmp', so experiment with storage location. <br />
Warning! This change DOES NOT fix the case where option 'Remember Job Progress' is disabled: a duplicated job will be selected, but will not execute.<br />
Warning! There is still an issue where the scheduler will not display capture counts properly, and will fail to properly admit completion for repeated jobs.</p>

<p>No reviewer set, I'll probably update that commit.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>bugfix__repeated_job_not_scheduling (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13009">https://phabricator.kde.org/D13009</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kstars/ekos/scheduler/scheduler.cpp</div></div></div><br /><div><strong>To: </strong>TallFurryMan<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>