Program running on Workspace stops running when disconnected

0

I have an excel spreadsheet that collects data via a webservice and then saves it in an access database. The program is written in VBA. The program runs fine when I am connected to the workspaces session but appears to stop running when I am disconnected. It starts again when I reconnect.

Workspace running mode is Always On

Compute Type is Standard

Hardware Power Option is set to High Performance

I have rebooted the workspace and created a Custom Power Plan with the High Performance settings

Does anyone know how I can get the program to continue running when I am not connected?

Many Thanks

Mike

posta 2 anni fa572 visualizzazioni
1 Risposta
0

The Workspaces FAQ discussing pricing seems to indicate that AlwaysOn is more about how "ready" the workspace is and how long you need to wait when connecting to it. I would suspect that this means that the workspace is suspended vs shutdown when you disconnect. I would expect that you need to be connected to the workspace for the processes and resources to be available. If you need a long running task to run while you're away, an EC2 instance would be more appropriate.

profile picture
con risposta 2 anni fa
  • Always ON Workspaces are always running, they do not go into suspended state or shutdown state. When you disconnect from the Always ON Workspaces, the session is just in disconnected state (similar to locking the Windows screen), but your application should still be running and so should be the background tasks and applications. Unless the tasks/application requires user to be always logged in your script should run fine I believe but we may need to check further. Please open a support case for further assistance.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande