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?

demandé il y a 3 ans282 vues
2 réponses
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
répondu il y a 3 ans
0

Hello navya-aws,

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

répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions