Slackbot
06/19/2024, 11:28 PMMarvin
06/19/2024, 11:28 PMI have a prefect project inside a Remote Desktop Server , I know that at some point of the past I called the prefect agent like this@echo off REM Change directory to the folder you want to open cd "C:\Users\sebastian-app-svr\AppData\Local\Programs\Python\Python312\Scripts>" REM Run the command "prefect cloud logout" to finish authentication and start over the script properly prefect cloud logout REM Run the command "prefect cloud login" prefect cloud login -k xxxxxxxxxx REM Execute the agent to start looking for flows to run prefect agent start --pool "default-agent-pool" --work-queue "test" REM Open command prompt in the current directory cmd and it worked no issues, with that I have the ability to create code on my remote desktop server (rdp) directly I had a project and I create new files there and if I want that they were present on the runs I just need to push changes to github since our prefect cloud usesd github storage block to retrieve the code directly from github then I think what it changes is that I no longer call the prefect agent from that route but directly from the route of my project like something like REM Change directory to the folder you want to open cd "C:\Users\sebastian-app-svr\Desktop\SBA Projects\prefect-sba" I had to do that since our server