EatTheBlocks Forum

Date & Time | execution of Smart Contract

I have a query regarding smart contract.

I want a smart contract to execute on every last date of the current month/ transfer token on last date of month.

Is there anything that you can help so I could get a start?


You will need to call the smart contract every time you want the execution to take place.
With a cronjob on a server for example.
And on the smart contract side, you will need to have some logic in Solidity that make sure the current time is the right one for the execution. With maybe a tolerance window, otherwise it will fail if it has to be exact.