This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
Environnent variable reset after some time. #648
Unanswered
Romaindcrl
asked this question in
Help
Replies: 1 comment
-
AWS Lambda environment variables do not persist for very long, see this answer on Stack Overflow. You can easily use Base to store a counter field and increment it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm running a python script that, on each run, should add 1 to an environment variable named "Counter". If I set Deta's Cron to 1 minute, everything is fine, but if I set it to 1 hour, the environment variable automatically resets to 0 between each execution of the script.
Beta Was this translation helpful? Give feedback.
All reactions