Open topic with navigation

TIBCO GridServer® 7.1.0

# The Schedule Block

When submitting a job asynchronously with `bsub`, you can declare a start time using the `schedule` block, and also send an email when a Service is complete. This block has no effect if the job is submitted synchronously.

The `schedule` block can contain a `type` property, which defines what type of schedule is used. The possible values are relative, for defining a Service that starts a certain number of minutes after submission, and absolute, for a Service that starts at a defined time.

After inserting a type property, you must insert a time property to indicate the time when the Service must start. For relative services, use the `minuteDelay` property, set to an integer. For absolute properties, use the `startTime` property, set to a string in the `"mm/dd/yy hh:mm AM|PM"` format.

Allowed schedule declarations are:

## Relative

    schedule
        type = relative
        minuteDelay = val
    end

## Absolute

    schedule
        type = absolute
        startTime = "mm/dd/yy hh:mm AM|PM"
    end

With either type, declaring `email="string"` in the `schedule` block sends an email to the address given in the string when the Service is complete.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO GridServer®

Copyright © 2001-2022. TIBCO Software Inc. All Rights Reserved.