Post
Share your knowledge.
deriss174
Jan 04, 2025
Expert Q&A
How to automate SUI smart contracts like a cron job?
Hi folks! I'm trying to figure out if a SUI smart contract can execute its functions automatically, much like a cron job. Are there any blockchain mechanisms for this, and what are best practices to achieve it?
- Sui
1
2
Share
Comments
Answers
2Jan 5 2025, 17:36
No, SUI smart contracts do not execute functions automatically unless triggered by a transaction. This means there are no native time events in place for autonomous execution.
2
Best Answer
Comments
Elvin CLONE 233
Jan 5 2025, 05:44Blockchain platforms typically do not support the cron job-like functionality natively. You might need to use an external solution to trigger the smart contract function at specific intervals.
1
Comments
Do you know the answer?
Please log in and share it.
Sui is a Layer 1 protocol blockchain designed as the first internet-scale programmable blockchain platform.
365Posts503Answers
Bounty Posts
- Why does BCS require exact field order for deserialization when Move structs have named fields?53
- Multiple Source Verification Errors" in Sui Move Module Publications - Automated Error Resolution42
- Sui Transaction Failing: Objects Reserved for Another Transaction24
- How do ability constraints interact with dynamic fields in heterogeneous collections?04