# CMS_JobRetryLater

> Cancels the job execution and will be run at next Agent cycle.

Source: https://docs.capaone.com/capainstaller/vb-scripting-library/cms-functions/cms-jobretrylater/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

### Description

Cancels the job execution and will be run at next Agent cycle.

**Note:** This function will set bStatus to False in order to skip the Job execution

### Syntax

CMS_JobRetryLater(sTxt) As Boolean

### Parameters

#### sTxt (String)

Append message to Log

### Return value

Boolean, TRUE if function completed successfully.

### Example

**VBScript**

```vb
If bStatus Then bStatus = CMS_JobRetryLater("Waiting for Office 2010 installation") 
```

[Scripting Guidelines](/capainstaller/vb-scripting-library/scripting-guidelines/)

### Related functions

[Constants](/capainstaller/vb-scripting-library/addendum/constants/) [Package Property](/capainstaller/vb-scripting-library/addendum/package-property/) [Variables](/capainstaller/vb-scripting-library/addendum/variables/) [Business Unit support](/capainstaller/vb-scripting-library/addendum/business-unit-support/)
