Tips for scheduling a SAS® Enterprise Guide® project


The Schedule task in SAS Enterprise Guide creates a VBScript file that Windows Task Scheduler uses to execute a project in batch on a specified schedule. To successfully schedule a SAS Enterprise Guide project, follow these guidelines:

    1. The recommended and default Windows Task Scheduler security setting for running SAS Enterprise Guide projects is Run only when user is logged on.
    2. The Windows user must be able to use Windows Task Scheduler. The user must be able to execute VBScript programs independently of SAS Enterprise Guide.
    3. Metadata credentials must be cached in the SAS Enterprise Guide user's connection profile. To see this information, navigate to Tools ► Connections. Choose the active server and click Modify to open the Connection profile. Make sure that the Save login in profile option is checked and that the selection persists. If it does not persist, contact your SAS® metadata administrator and request the ability to cache metadata credentials.
    4. Credentials must persist throughout the SAS Enterprise Guide session. To check this setting, navigate to Tools ► Options ► Security. The option Credentials Persistence must be set to Persist during EG session.
    5. A scheduled project does not execute if the project is open. Ensure that you have saved and closed the project before it is scheduled to execute in batch.
    6. SAS Enterprise Guide must be installed on the machine where the VBScript file is scheduled to execute.
    7. The project must execute successfully from VBScript outside of Windows Task Scheduler. Execute the VBScript outside of Windows Task Scheduler to verify the project runs successfully in batch.

Suggestions for using Run whether user is logged on or not: