ticksSchedules property

bool get ticksSchedules

Whether this process ticks the backend schedules.

A cron process does. So does a web process nobody gave a role, because it is the only process there is. A declared web process does not: a deployment that names roles runs its schedules in the cron process, and every web instance ticking them would fire each once per instance.

Implementation

bool get ticksSchedules =>
    role == DVProcessRole.cron ||
    (role == DVProcessRole.web && !roleDeclared);