Scheduler Plugin is a new userview menu for Joget Enterprise and Professional to schedule jobs to run at a specific date and time. You can use this plugin to trigger any process tools (except the Form Data Update Tool, which runs only in a process flow).
For example, you can program the Scheduler Plugin to call a JSON POST API plugin to execute a process start at 8:00 am every day in September. Your process could be designed to update some database tables and send out an email notification.
The Scheduler Plugin uses the Java Cron Expression to determine the trigger time. A Cron Expression is a string consisting of six or seven subexpressions (fields) that describe individual details of the schedule. These fields, separated by white space, can contain any of the allowed values with various combinations of the allowed characters for that field. Only future dates are allowed in the cron expression field.
This plugin source code is available in a new open source repository at https://github.com/jogetoss/. JogetOSS is a community-led team for open source software related to the Joget no-code/low-code application platform. Projects under JogetOSS are community-driven and community-supported, and you are welcome to contribute to the projects.
Be advised the Scheduler plugin requires Joget DX version 7.0.7 or higher. The latest plugin version is scheduler-6.0.1.jar.
Note
- Download and import the JSON POST API plugin to see this option in the Plugin options pulldown menu. If you write your custom process tools plugins, it will also appear in the Scheduler menu pulldown menu.
- JSON POST API calls need to pass the authentication values as documented here.
REQUIREMENT
- This plugin was designed for Joget Enterprise and Professional v6 and DX only. Get the Scheduler Plugin for v5.
- This plugin is not compatible with Joget Cloud and was designed to work only in Joget On-Premise.
WHAT'S NEW
- 15-Mac-2018 Updated fix for MSSQL & Oracle databases.
- 14-Apr-2018 Updated fix for CRON validation on edit.
- 12-Jun-2018 Updated XML file in the plugin for situations where internet access is blocked or not existing.
- 03-Aug-2018 Updated fix for show log pagination.
- 29-Aug-2018 Updated fix for PostgreSQL database compatibility.
- 23-Apr-2019 Updated fix for a wrong display of "This feature is not supported in your installation" message.
- 07-Jan-2021 Updated with fix for latest security vulnerabilities.
Steps To Import This Plugin
- Click "Download" on this plugin screen (It will be a .jar file).
- Go to your Joget localhost or server, in Joget Console navigate to "Admin Bar>Systems Settings>Manage Plugins" and click "Upload Plugins" button.
- In the "Upload Plugin" screen, select the plugin .jar file you just downloaded, then click "Upload".
- Open a new userview builder screen and you will see a new menu option named 'Scheduler Menu'.
- Remember to always uninstall the old plugin before uploading a new version.
- The Joget Knowledge Base has more information on managing and developing plugins.