Sui.

Post

Share your knowledge.

deriss.
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

2
LargeCappWithTwo.
Jan 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 .
Jan 5 2025, 05:44

Blockchain 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
Sui.X.Peera.

Earn Your Share of 1000 Sui

Gain Reputation Points & Get Rewards for Helping the Sui Community Grow.

Reward CampaignJuly