Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
UnassignedUnassignedReporter
Jamie JacksonJamie JacksonPriority
Major
Details
Details
Assignee
Unassigned
UnassignedReporter
Jamie Jackson
Jamie JacksonPriority
Sentry
Sentry
Sentry
Created February 14, 2025 at 3:08 PM
Updated February 14, 2025 at 3:13 PM
CFConfig
toFormat=LuceeWeb@6
yields scheduled task and gateway JSON that Lucee doesn’t recognize.Source
config.json
{ "eventGatewaysLucee":{ "report management aws inbound":{ "CFCPath":"hudx_deployment_root.model.main.info.onecpd.reportmanagement.filewatchergateway.DirectoryWatcherLogging", "custom":{ "addFunction":"onAdd", "changeFunction":"onChange", "debugKey":"run_1", "deleteFunction":"onDelete", "directory":"${REPORT_INBOUND_PATH}", "extensions":"*", "interval":"60000", "recurse":"true" }, "listenerCFCPath":"hudx_deployment_root.model.main.info.onecpd.reportmanagement.filewatchergateway.ReportGatewayListener", "startupMode":"${REPORT_MANAGEMENT_GATEWAY_STARTUP_MODE}" } }, "scheduledTasks": { "Create By-Week Daily DRGR Requests Export": { "interval": "daily", "requestTimeOut": 500654.08, "startDate": "01/01/2000", "startTime": "02:20:00 AM", "status": "${EXPORT_TO_S3_TASKS_STATUS}", "task": "Create By-Week Daily DRGR Requests Export", "url": "${SITE_BASE_URL}/snaps/" } } }
Rendered
.CFConfig.json
:{ "eventGatewaysLucee": { "report management aws inbound": { "CFCPath": "hudx_deployment_root.model.main.info.onecpd.reportmanagement.filewatchergateway.DirectoryWatcherLogging", "custom": { "addFunction": "onAdd", "changeFunction": "onChange", "debugKey": "run_1", "deleteFunction": "onDelete", "directory": "/s3bucket/private/reports/inbound", "extensions": "*", "interval": "60000", "recurse": "true" }, "listenerCFCPath": "hudexchange_deployment_root.model.main.info.onecpd.reportmanagement.filewatchergateway.ReportGatewayListener", "startupMode": "disabled" } }, "scheduledTasks": { "Create By-Week Daily DRGR Requests Export": { "interval": "daily", "requestTimeOut": "500654.08", "startDate": "01/01/2000", "startTime": "02:20:00 AM", "status": "Paused", "task": "Create By-Week Daily DRGR Requests Export", "url": "https://web.local.hudx.net/snaps/" } } }
What Lucee actually expects. This was created via the Lucee admin gui:
{ "scheduledTasks": [ { "name": "created from lucee admin", "startDate": "{d '2025-02-12'}", "startTime": "{t '00:00:00'}", "url": "https://www.google.com", "port": -1, "interval": "once", "timeout": 50000, "resolveUrl": false, "publish": false, "hidden": false, "readonly": false, "autoDelete": false, "unique": false } ], "gateways": { "created from lucee admin gui": { "cfcPath": "lucee.extension.gateway.DirectoryWatcher", "listenerCFCPath": "lucee.extension.gateway.DirectoryWatcherListener", "startupMode": "disabled", "custom": { "deleteFunction": "onDelete", "changesFunction": "onChanges", "addFunction": "onAdd", "directory": "/tmp/", "interval": "60000", "recurse": "true", "extensions": "*", "changeFunction": "onChange" }, "readOnly": "false" } } }