olahallengren / sql-server-maintenance-solution

SQL Server Maintenance Solution
https://ola.hallengren.com
MIT License
2.91k stars 756 forks source link

Returning 1 when running remote #774

Closed Lupusnocturnal closed 1 year ago

Lupusnocturnal commented 1 year ago

Description of the issue I am calling the stored procedures for backups and index optimisation from broadcom automatic automation and it is stopping part way through with return code 1 If I run the same command with the same user from ssms it runs and completes

SQL Server version and edition Execute SELECT @@VERSION Sql 2019 15.0.2000.5 (x64)

Version of the script Check the header of the stored procedure 2033-12-03 17:23:44 What command are you executing? Both indexoptimize and databasebackup so could be the commandexecution stored procedure What output are you getting? Output stops at command to run message