New
#1
Scheduled task remains running, when run manually
I have several tasks defined in the Task Scheduler. They're all working fine. They are written in the REXX language (about the only language I'm proficient in).
Yesterday, I made a small change to one of the scripts and ran it manually, from the Task Scheduler (to ensure that it ran correctly in the scheduler environment).
The script ran to completion, but the status remained "Running". I've spent the last 24 hours trying to work out why the task sticks at "Running", only to discover that closing and re-opening the Task Scheduler makes the status revert to "Ready".
It looks like the Task Scheduler is not updating the status, when the program exits. Is there anything I can do about this (I suspect the pragmatic answer is "ignore it").
Are my scripts supposed to do something to signal to the scheduler that they've terminated?