I am running a remote job as part of a deployment which is supposed to run forever (seeding random data) however the process keeps getting killed after only a few hours.. I am figuring some missing remote service flag or something.
I am running the remote job via this powershell command
Invoke-Command -ComputerName DEPLY -Credential $cred -AsJob -ScriptBlock {
C:\Deply\${bamboo.Configuration}\Seed\Seed.exe /y
}
Is there someway to prevent this process from being killed?