#but next time it is executed it used the
1 messages · Page 1 of 1 (latest)
haven't done it myself but just from the top of my head, maybe create a file with a random name?
for example..
...
WithNewFile(fmt.Sprint(time.Now().UnixMilli()))
but there is probably a better way to do this 😄
yes, I had something similrr in mind
.with_exec(["echo "+fmt.Sprint(time.Now().UnixMilli())"+"mycmd"])
We'll get this in the docs. Lots of folks using an Environment Variable with current time for this. If you search in Discord for CACHEBUSTER or NO_CACHE, you'll see a lot of these in different SDKs (Go, Python, Node.js).
Here's a Python one: #1040899837232681003 message
What is the issue? People are surprised by caching of executions with the same inputs and are not sure how to ensure that certain executions are not cached, but run every time. https://discord.com/...