How to call rebase function on smart contract automatically every 24 hours on Binance smart chain

Hi,thanks@skyge i already created using javascript and i got transaction hash as undefined,i already posted it too on forum,here is the link.and didn't got any solution that's why i moved to smart contract for invoking function automatically.

Is there any source file available for calling rebase function automatically through javascript for Binance smart chain smart contract.