Enterprise Manager logoEM: BBj Services > Scheduling

Description

Scheduling provides administrators the ability to execute one or more tasks and/or programs at designated times and with a optional repeat frequency. One benefit for using the built-in scheduling feature as opposed to something such as CRON is that the scheduling interface makes it easy to run a BBj program, pause a replication job, or resume a replication job. See: Task Scheduling.

Location

Enterprise Manager logoEM NavigatorBBjServicesScheduling

Toolbar

Button Function

Starts a scheduled task.

Pauses a scheduled task.

Adds a new scheduled task.

Deletes a scheduled task.

Refreshes the task list.

edit button Edits the scheduled task(s).

Moves a task up.

file/directory button Allows the selection of file(s).

Moves a task down

Allows to create new file/folder.

Scheduled Task Groups

The Scheduling panel provides a centralized interface for managing all configured scheduling jobs, referred to as Task Groups. Each Task Group contains one or more executable tasks. The panel enables administrators to create, modify, or remove task groups and monitor their execution details. Columns within the interface display each group's configured schedule, the next scheduled run time, and the last execution time, ensuring complete visibility and control over all automated scheduling activities. See: Task Scheduler.

Scheduled Task Groups Column List

Column Description
Group Name Name of the Task Group.
Schedule For Task Groups, displays a short description of the scheduling for the group including the start date and time.
Next Run The next time the Task Group is scheduled to run.
Last Run The last time the Task Group executed.

Scheduled Task Groups: Status

Provides real-time execution details, progress updates, and error messages while identifying the script, program file, or replication job executed within scheduled task groups for monitoring efficiency.

Creating Task: New Task Group Wizard

Accessed by clicking the button, in the Scheduled Task Groups pane’s top-right corner, the New Task Group Wizard allows administrators to define task group names, choose scheduling types, and configure recurring or startup-triggered BBjServices task executions precisely.

Creating Task: Settings List

Settings Description
Task Group Name The Task Group Name.
Group of tasks runs at designated intervals.
Autorun Group of tasks will run one time when BBj Services is initially started.
Back Returns to the previous configuration step without losing entered information
Next Proceeds to the next step in the task configuration process.
Finish Saves and finalizes all entered settings for the new task group.
Cancel Exits the wizard without saving any current configuration changes.

Creating Task: Date Time and Repeat Info

Accessed by clicking the Next, the Date Time and Repeat Info panel configures task start and end times, enables or disables the End Time checkbox, and defines repeat frequency and interval types.

Creating Task: Date Time and Repeat Info Settings List

Settings Description
Initial Start Time The exact date and time when the task group first begins execution within BBjServices.
End Time
  • When unchecked, disables date and time fields.

  • When checked, activates editable controls to define the task group’s exact end date and time.

Repeat Type Defines how often the task group repeats by selecting an interval option: Hourly, Daily, Weekly, Monthly, or Yearly for automated task execution scheduling.
Repeat Every Specifies how often the task repeats by defining numerical frequency intervals for recurring automated task executions.

Task List

Accessed by clicking the button in the Task List pane, this wizard allows administrators to add tasks, choose task types, and configure properties; such as executing BBj programs, system calls, or replication job actions within the selected task group configuration process.

Task List Settings

Settings Description
Task Type Defines the specific operation each task performs within the group, such as executing a BBj program, running a system command, or managing replication jobs.
Details Displays configuration parameters and execution settings for the selected task type, including file paths, user credentials, arguments, and runtime options to ensure proper execution and operational flexibility.

Task Type: Execute BBj Program

The Execute BBj Program configuration enables defining a BBj program task, including file paths, user credentials, arguments, client properties, and runtime options, ensuring precise automated program execution within scheduled or manually triggered task groups.

Execute BBj Program Settings List

Settings Description
Program File When the file/directory button icon is clicked, the file browser opens to select a BBj program file. The user can navigate directories, create new folders, and choose a specific executable program file path for the defined task.
Config File Clicking the file/directory button icon opens the file browser to locate a configuration file. Selecting the icon allows creating a new directory before confirming the configuration file location.
Working Directory Clicking the file/directory button icon opens a directory browser for selecting the execution path. Choosing the icon creates a new directory for defining the working directory location of the program execution.
Run As User Defines the account identity for task execution, offering admin for full system privileges and guest for limited access operations under restricted security permissions.
Run As Password Authenticates the selected account by securely providing its corresponding password, ensuring authorized task execution under proper user credentials and maintaining controlled system access.
Arguments(ARGV) Captures command-line arguments for the BBj program. Clicking the button inserts a default arg, template, enabling users to define execution parameters passed dynamically during program execution.
Client Properties(PROP=value) Defines client-specific runtime properties for the BBj program. Clicking the inserts a PROP=value template, allowing precise configuration of property parameters during task execution.
Quite
  • When unchecked, BBj interpreter runs normally and outputs execution messages to the console.

  • When checked, runs the BBj interpreter quietly.

Asynchronous
  • When unchecked, the task runs synchronously, blocking until completion.

  • When checked, allows the task to execute asynchronously.

Classpath

Session-Specific classpath (SSCP) to use for executing the program.

Value Description

<default>

Runs using the standard BBj system classpath, applying globally configured libraries for consistent execution across all environments.
webservices.bus Provides access to BASIS web service communication modules, enabling service-based interaction through the BBj Web Services framework.
graffiti Loads classes supporting the Graffiti UI toolkit, enhancing interface rendering and component styling within BBj applications.
bbj_default Uses the BBj default environment for executing programs with core system-level dependencies and runtime support.
barista Initializes the Barista Application Framework environment, supporting business logic, database connectivity, and GUI components for Barista applications.
webservices.ccos Applies the Web Services CCOS library for handling SOAP and REST-based BBj web integrations and communications.
basisdemos Loads BASIS demonstration class libraries to execute sample applications included with BBj for testing and instructional purposes.
addon Provides access to additional BASIS extension libraries, enabling enhanced BBj functionality or third-party integrations as configured by the system administrator.
Run Now Execute the program immediately for testing purposes.

Task Type: Execute System Call

Executes predefined operating system-level commands or external executables directly through BBjServices. Enables task automation by running shell scripts, batch files, or executable processes within a controlled, server-managed environment for integration. See: System Call.

Execute System Call Settings List

Settings Description
Command/Executable Defines the full system path or file reference for the executable command. Clicking the file/directory button icon opens the directory browser, while clicking the icon allow administrators to create a new folder for file selection.
Run Now Execute the program immediately for testing purposes.

Task Type: Pause A Replication Job

Temporarily halts an active data replication job to prevent synchronization during maintenance or troubleshooting. Ensures data consistency and controlled resumption without interrupting existing replication configurations or causing data corruption. See: Replication Jobs.

Settings Description
Replication Job Displays a notice when no replication jobs exist.

Task Type: Resume A Replication Job

Reactivates a previously paused replication job to resume data synchronization between systems. Maintains replication continuity and integrity by restarting the selected job from its last stable synchronization point.

Settings Description
Replication Job Displays a notice when no replication jobs exist.

See Also

BBjAdminBase

Java Settings

Log Files

Memory Usage

Processes

Servers

Settings

Task Scheduling