If any early triggered jobs are in Pending state then those jobs may be executed after 4 PM but no new job will triggered after 4 PM as per your CRON expression. It looks perfect.
But let me tell you what are the possibilities of getting into pending state
One as you said your process is run for every 20 mins
If that’s the case let’s take like bot is about to run by 3:45 PM
But early run to that took more time to execute and because of which the run at 3;45 would have got into pending state
This could be one scenario
Another scenario is there could another bot running in same machine sharing the license runtime
And if that bot got triggered by the same time when a schedule of your bot is set then it will obviously in pending state until license is available for this bot to execute
@bp777 - I would agree this is most likely the case. If you do not want the jobs to continue after a set time. You can configure the Triggers to Stop Job after 20 minutes, this may not be appropriate for your specific scenario depending on how critical it is for it’s job to compete an entire run to completion.