Scheduler job fails after time of inactivity

Hello!

Recently, we’ve started experiencing an uncommon issue with scheduled jobs.

What is happening:
1st job from scheduler keeps failing after time of inactivity. The next job scheduled after that and subsequent ones run just fine.

Description:
When the difference between the last run job and the next one is about an hour or larger, it causes the first and only first scheduled job to fail. If we have other jobs coming after that, they will run fine. The error that we are seeing is the following:

Could not start executor. Creating user session timed out.
System.Exception: Could not start executor. Creating user session timed out.

Any suggestions what might be causing it? We’ve tried so far to increase UiPath_SESSION_TIMEOUT, logging out all users from the VM and more.

Thanks!

Check this: