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?

gefragt vor 3 Jahren282 Aufrufe
2 Antworten
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
beantwortet vor 3 Jahren
0

Hello navya-aws,

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

beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen