BoxLang 🚀 - Dynamic : Modular : Productive! Learn More...

cbSchedulerViewer

v1.0.6 Modules

# 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')
		];
	}
}
  •   Ryan Albrecht
  • Published
  • 1.0.6 is the latest of 7 release(s)
    Published
  • Published on {{ getFullDate("2023-04-26T18:35:07Z") }}

$ box install cbSchedulerViewer

No collaborators yet.
   
5.00 / 1
  • {{ getFullDate("2023-03-24T03:15:53Z") }}
  • {{ getFullDate("2023-04-26T18:35:07Z") }}
  • 1,333
  • 670