Class SchedulerRestart

java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.scheduler.SchedulerRestart

@BoxBIF(description="Restart a scheduled task") public class SchedulerRestart extends BIF
  • Constructor Details

    • SchedulerRestart

      public SchedulerRestart()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Restart a scheduler by name.

      The default will do a graceful shutdown, but if the force argument is set to true, it will force shutdown the scheduler.

      If the timeout argument is set, it will wait for the specified amount of time in seconds before forcing the shutdown. The default is 30 seconds.

      Specified by:
      _invoke in class BIF
      Parameters:
      context - The context in which the BIF is being invoked.
      arguments - Argument scope for the BIF.
      Returns:
      The result of the invocation