stop method

void stop()

Stops the periodic execution of the task.

Implementation

void stop() {
  cron.close();
}