Hedgar
02/27/2022, 11:03 AMprefect agent local start
• Was also able to click the quick run
and I got a beautiful green bar of success!
However I have a challenge:
My AWS ec2 with the help of lambda function get started at certain time of the day and shuts down at certain time of the day.
How do I ensure that my flow runs when AWS ec2 starts for the day? Do I need to create a bash script that start the local agent via a crontab on the remote instance?Amanda Wee
02/27/2022, 11:48 AMHedgar
02/27/2022, 2:00 PMPerfect register --project my project -p myflow.py -n ‘firstflow’
• prefect agent local start
How do I know,though schedule time is not now,that this took effect using my cloud dashboard especially as I still see “last agent queried 2 hours ago”under local agents.Anna Geller
02/27/2022, 4:58 PM