Not released yet. PeltyCMS is under development and not released yet; these docs describe the upcoming release and may change.
PeltyCMS Developer docs
User docsDevelopers
v0.1.0

Developer docs/Bundled addons

Addon cron jobs (test fixture)

addons.desc.integration.cron This is a test fixture used by the integration tests; it is not offered in the marketplace.

FieldValue
Addon idintegration-cron
Kindintegration
Providescron
Enginewasm
ABI0.5.0
Version0.1.0
AuthorMythicalSystems
Sourceextensions/addons/fixture-cron
Permissions (shown at install)none

#Capabilities

CapabilityValue
cron[{"description":"Nightly cleanup","name":"nightly","schedule":"0 3 * * *"},{"name":"broken","schedule":"*/15 * * * *"}]
cron_runtimetrue
routes[{"access":"admin","method":"POST","path":"/cron","permission":"plugins.manage"}]

#Events and hooks

WhatValue
Listens to (events)none
Hooksnone
Emitsnone
Mixinsnone
Filtersnone
Scheduled jobsnone

#Settings and secrets

No admin settings are declared in addon.json or in the source.

Secrets (stored encrypted, never returned by the API): none.

Outbound HTTP allowed to: none. $server is the hostname of the server configured for the product, $setting:<key> the host of that setting.

#HTTP routes

Mounted under /api/v1/addons/integration-cron/.

MethodPathAccessPermission
POST/cronadminplugins.manage

#addon.json

extensions/addons/fixture-cron/addon.jsonJSON
{
  "abi": "0.5.0",
  "author": "MythicalSystems",
  "capabilities": {
    "cron": [
      {
        "description": "Nightly cleanup",
        "name": "nightly",
        "schedule": "0 3 * * *"
      },
      {
        "name": "broken",
        "schedule": "*/15 * * * *"
      }
    ],
    "cron_runtime": true,
    "routes": [
      {
        "access": "admin",
        "method": "POST",
        "path": "/cron",
        "permission": "plugins.manage"
      }
    ]
  },
  "description": "addons.desc.integration.cron",
  "engine": "wasm",
  "id": "integration-cron",
  "kind": "integration",
  "name": "Addon cron jobs (test fixture)",
  "permissions": [],
  "provides": "cron",
  "settings": [],
  "version": "0.1.0",
  "wasm": "addon.wasm"
}