Would anyone have any guesses as to what would cause robotask to stop in the middle of a script playing? The logs simply states "Application is shutting down. Task stopped."
Some notes: I have a main task that is triggering and running a series of 5 other tasks and is only set to continue when the current script finishes. The previous 4 scripts run normally when triggered by this main script and then the final script gets triggered, runs for the first 2-3 minutes and then is force stopped with the above message. There are no other scripts triggered to run during the same time, no error handling script is being triggered that would potentially stop this task or the main task. It does appear to happen consistently at this exact point each day it runs. Replaying this individual script directly after it fails with no changes applied to this script runs normally and completes as expected.
Is there anything I should be checking that may narrow down what could be causing this? Any suggestions are welcomed.
Thank you!
When you stop RoboTask it stops all running tasks by default.
If you want to avoid this and get RoboTask to wait the task turn on this option:
do_not_stop_the_task.png (10.67 KiB) Viewed 5579 times
Open task editor and check the option "Do not stop the task when the application is shutting down"
Do this for necessary tasks.
By default RoboTask stop all running tasks before exiting
Oleg wrote: ↑Fri Jan 07, 2022 4:25 pm
When you stop RoboTask it stops all running tasks by default.
If you want to avoid this and get RoboTask to wait the task turn on this option:
do_not_stop_the_task.png
Open task editor and check the option "Do not stop the task when the application is shutting down"
Do this for necessary tasks.
By default RoboTask stop all running tasks before exiting
This is helpful information but any ideas as to what is causing the application to shut down in the first place? As I mentioned I have no triggers or force stopping to make robotask stop (at least from what I can tell with current scripts/settings).
RoboTask can not shutdown spontaneously.
It must accept corresponding command from user or action or 3-rd party application
System can terminate RoboTask process (for example if some critical error happens). But this is not normal shutdown.
System just kill application in this case.