callCronJob method

Future<void> callCronJob(
  1. String route,
  2. DateTime time
)

Implementation

Future<void> callCronJob(String route, DateTime time) async {
  var res =
      await findCalling.calling(CronJobRequest(time: time, path: route));
  Logger.of(this).info(this, "cron_job_executed", payload: res.body?.data);
}