| Previous | Next |  | Contents | Index | Glossary

## Wfbkg.sql

If you are using the standalone version of Oracle Workflow, you can use wfbkg.sql to start a background engine. This script calls the WF_ENGINE Background API to run a background engine for the indicated number of minutes. On completing its current set of eligible activities to process, the background process waits for the specified number of seconds before launching another background engine. This cycle continues until the indicated number of minutes have elapsed.

Use the script as follows:

    sqlplus <user/pwd> @wfbkg <minutes> <seconds>

Replace `<minutes>` with the number of minutes you want the background engine to run, and replace`<seconds>` with the number of seconds you want the background engine to wait between queries.

### See Also

Background

Setting up Background Workflow Engines

| Previous | Next |  | Contents | Index | Glossary