Model schedules


Permissions

User GroupCreate?Read?Update?Delete?
super_userxxx
adminx

Fields

NameTypeLinkMaps ToDefaultIndexed?Unique?Required?
__vNumber
_deletedBooleanfalsex
_idObjectID[Function]
_owner_idObjectIDUser_ownerx
_updated_by_idObjectIDUser_updated_byx
actionString
createdDate[Function]
createdAtDate
cronString
descriptionString
dueDateFri Dec 05 2025 07:07:45 GMT+0000 (Coordinated Universal Time)x
idObjectIDx
last_outputMixed
last_runDate
nameString
repeatStringneverx
statusStringduex
updatedAtDate

Field Details

__v

{
  "path": "__v",
  "instance": "Number",
  "options": {},
  "validators": []
}

_deleted

{
  "path": "_deleted",
  "instance": "Boolean",
  "options": {
    "default": false,
    "index": true
  },
  "validators": [],
  "defaultValue": false
}

_id

{
  "path": "_id",
  "instance": "ObjectID",
  "options": {
    "auto": true,
    "type": "ObjectId"
  },
  "validators": [],
  "defaultValue": "[Function]"
}

_owner_id

{
  "path": "_owner_id",
  "instance": "ObjectID",
  "options": {
    "link": "User",
    "map_to": "_owner",
    "index": true
  },
  "validators": []
}

_updated_by_id

{
  "path": "_updated_by_id",
  "instance": "ObjectID",
  "options": {
    "link": "User",
    "map_to": "_updated_by",
    "index": true
  },
  "validators": []
}

action

{
  "path": "action",
  "instance": "String",
  "options": {},
  "validators": []
}

created

{
  "path": "created",
  "instance": "Date",
  "options": {},
  "validators": [],
  "defaultValue": "[Function]"
}

createdAt

{
  "path": "createdAt",
  "instance": "Date",
  "options": {
    "immutable": true
  },
  "validators": []
}

cron

{
  "path": "cron",
  "instance": "String",
  "options": {},
  "validators": []
}

description

{
  "path": "description",
  "instance": "String",
  "options": {},
  "validators": []
}

due

{
  "path": "due",
  "instance": "Date",
  "options": {
    "index": true,
    "default": "2025-12-05T07:07:45.082Z"
  },
  "validators": [],
  "defaultValue": "2025-12-05T07:07:45.082Z"
}

id

{
  "path": "id",
  "instance": "ObjectID",
  "options": {
    "index": true
  },
  "validators": []
}

last_output

{
  "path": "last_output",
  "instance": "Mixed",
  "options": {},
  "validators": []
}

last_run

{
  "path": "last_run",
  "instance": "Date",
  "options": {},
  "validators": []
}

name

{
  "path": "name",
  "instance": "String",
  "options": {},
  "validators": []
}

repeat

{
  "path": "repeat",
  "instance": "String",
  "options": {
    "validate": {},
    "index": true,
    "default": "never"
  },
  "validators": [
    {
      "message": "Validator failed for path `{PATH}` with value `{VALUE}`"
    }
  ],
  "defaultValue": "never"
}

Validators

status

{
  "path": "status",
  "instance": "String",
  "options": {
    "validate": {},
    "index": true,
    "default": "due"
  },
  "validators": [
    {
      "message": "Validator failed for path `{PATH}` with value `{VALUE}`"
    }
  ],
  "defaultValue": "due"
}

Validators

updatedAt

{
  "path": "updatedAt",
  "instance": "Date",
  "options": {},
  "validators": []
}