JobSchedule.ExecutionRequired

Syntax:

ExecutionRequired(<DateToCheck>, <BeginDateOfTheLastLaunch>, <EndDateOfTheLastLaunch>)

Parameters:

<DateToCheck> (optional)

Type: Date.
Date, for which the schedule needs to be checked. If the date is not specified, then current date is used.

<BeginDateOfTheLastLaunch> (optional)

Type: Date.
Start date of the last scheduled job launch. If date is specified, then it's used to check such conditions as DaysRepeatPeriod, WeeksPeriod, RepeatPeriodInDay. If the date is not specified, then it's supposed that the job has never launched, and these conditions are not checked.

<EndDateOfTheLastLaunch> (optional)

Type: Date.
End date of the last scheduled job launch. If date is specified, then it's used to check the RepeatPause condition. If date is not specified, then it's supposed that the job has never ended, and this condition is not checked.

Returned value:

Type: Boolean.

Description:

Checks, whether the schedule is executed for the target date.

Availability:

Server, thick client, external connection.

    

1C:Enterprise Developer's Community