# start\_interval

#### start\_interval | [code](https://github.com/liquidapps-io/zeus-sdk/blob/master/boxes/groups/services/cron-dapp-service/contracts/eos/dappservices/_cron_impl.hpp)

```cpp
/**
  *  LiquidScheduler uses the timer_callback to run the cron logic within the consumer contract
  *
  *  @param {name} timer - account name to scope the timer within
  *  @param {std::vector<char>} payload - payload to be accessed within the timer_callback function in the consumer contract
  *  @param {uint32_t} seconds - seconds to repeat the cron
  * 
  *  Example:
  *
  *  @code
  *  // test setting interval
  *  [[eosio::action]] void testinterval(uint32_t interval) {
  *    // optional payload for data to be passed to timer_callback
  *    std::vector<char> payload;
  *    start_interval(_self, payload, interval);
  *  }
  *  @endcode
  */
```
