Scheduling local lambda function

0

I have an application in which there is a Raspberry Pi as Greengrass Core and multiple ESP32 as Devices and together they form a Greengrass Group. Now, I want to have a local shadow update to a specific Device at a specific time. I implemented scheduling of lambda function with cloudwatch triggers and cron jobs but this will not work if the internet is down.

I was thinking of using cron tool (https://www.raspberrypi.org/documentation/linux/usage/cron.md) for Unix systems to schedule a local lambda function which publishes the desired MQTT message to local shadow service.

Is there any way to accomplish this?

질문됨 3년 전282회 조회
2개 답변
0

Hi PegasusAutoma,

Thanks for your question.
Unfortunately there isn't a way to schedule a local lambda function.
You would have to use a pinned lambda and then refactor your function code to handle the scheduling for you.
Please let me know if you have any follow up questions.

Thanks,
Navya.

AWS
답변함 3년 전
0

Hello navya-aws,

Thanks for the clarification. I'll try pinned lambda function as workaround for this as of now.

답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠