Skip to content

A coldbox module to display an overview of registered tasks created using the coldbox scheduler

Notifications You must be signed in to change notification settings

ryanalbrecht/cbSchedulerViewer

Repository files navigation

# cbSchedulerViewer

alt text

Introduction

This is a module you can drop into your coldbox to get a nicely formatted overview of the tasks the were registered using the coldbox scheduler.

This module should be considered experimetal, so use at your own risk until further development has been done.

Requirements

  • Adobe ColdFusion 2018+
  • Lucee 5+

Installation

Installation is easy through CommandBox and ForgeBox. Simply type box install cbSchedulerViewer to get started.

Usage

The module should be automatically registered and ready to use. Simply navigate to /cbSchedulerViewer

e.g. http://127.0.0.1:8081/cbSchedulerViewer

By default the module will retrieve tasks from all module schedulers as well as the default global scheduler (appScheduler@coldbox). This can be overriden by creating the following struct in moduleSettings in your config.cfc.

It will be your job to override the closure and return an array of schedulers.

// cbSchedulerViewer
cbSchedulerViewer = {
	getSchedulers = function(){
		var wirebox = controller.getWirebox();
		return [ 
			wirebox.getInstance('appScheduler@coldbox')
		];
	}
}

About

A coldbox module to display an overview of registered tasks created using the coldbox scheduler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published