Hedgar
03/02/2022, 9:31 PMflow.register(projectname, flowname e.t.c
Would it be necessary to do again on the command line prefect register...
before doing prefect agent local start
?Kevin Kho
03/02/2022, 9:33 PMflow.run()
in there somewhere? I think running twice is different from registering twice? and no you shouldn’t need to register twiceHedgar
03/02/2022, 9:40 PMflow.run()
should I? I thought if I can start the local agent my flow would run when the schedule time hit?Kevin Kho
03/02/2022, 9:41 PMHedgar
03/02/2022, 9:49 PM07 18 * * *
but since I have a lambda that starts and shuts down my ec2 I wrote a bash script wherein I registered and starts the local agent at 03 18 * * *
now instead of just running the schedule time it also runs @`03 18 * * *`Kevin Kho
03/02/2022, 9:51 PM03 18 * * *
, I am also wondering if there was a late run lingering because the agent will just pick up all late runs when it startsHedgar
03/02/2022, 9:58 PMprefect agent local start
@ 03 18 * * *
? I suspect registering again with cli is triggering a run and when the schedule time hit it equally runKevin Kho
03/02/2022, 9:59 PMHedgar
03/02/2022, 10:00 PM