# Class Opencart\Catalog\Model\Setting\Cron

`extends` | `Model`

Class Cron

- Opencart\System\Engine\Model
  - Opencart\Catalog\Model\Setting\Cron

Located at catalog\model\setting\cron.php

Methods
`public` | `editCron(int $cron_id): void` Edit Cron Edit Cron | #
`public` | `editStatus(int $cron_id, bool $status): void` Edit Status Edit Status | #
`public` | `getCron(int $cron_id): array<string, mixed>` Get Cron Get Cron | #
`public` | `getCronByCode(string $code): array<string, mixed>` Get Cron By Code Get Cron By Code | #
`public` | `getCrons(): array<int, array<string, mixed>>` Get Cron(s) Get Cron(s) | #
`public` | `getTotalCrons(): int` Get Total Cron(s) Get Total Cron(s) | #

Methods inherited from Opencart\System\Engine\Model
`__construct(), __get(), __set(), __isset()`

Properties inherited from Opencart\System\Engine\Model
`$registry`

OpenCart API API documentation generated by ApiGen dev-master