Page 1 of 1

Restart Canceled Project

Posted: Fri Jul 29, 2016 11:16 am
by michaelm
Hi,

I was wondering if there is a way to restart or rerun a project that was canceled due to a system shutdown. This has happened a couple of times and I haven't found a way to automatically rerun the project once GoAnywhere restarts.

To be more specific, these are projects that were triggered by a Monitor and are running, but the host server restarts before the project completes. So the files are no longer in the original directory, but if the project is re-run it will complete successfully.

Re: Restart Canceled Project

Posted: Mon Aug 01, 2016 6:05 pm
by Support_Rick
michaelm,

Unfortunately, there is no way for us to "resubmit" jobs that were abnormally terminated. This would have to be accomplished by logic built into your project.

At the beginning of your project, you could write out the information necessary to re-run, into a local CSV file. Upon successful completion of the project, delete the CSV. Under abnormal termination, you could automatically start a project that checks for remaining CSV files ... read them, resubmit with necessary parameters for re-run and have the project do this work for you.

We do have professional services available to help you with these types of business needs. Contact our Support group and ask for our Professional Services. They will be glad to help you set review this and work out a plan of action to help.

Re: Restart Canceled Project

Posted: Tue Aug 02, 2016 10:58 am
by michaelm
Rick,

Thanks for the reply. That would definitely work for us, but I have another question.

How can I start a project after an abnormal ending, or better yet once GoAnywhere starts? And just to be clear, this should not be executed when a project fails due to an error, just when the system cancels it due to a restart

Re: Restart Canceled Project

Posted: Tue Aug 02, 2016 4:14 pm
by Support_Rick
Michael,

Review the Scheduled Job option for execution at Startup. This will give you what you're looking for.