11.07.2015 Views

Automate Scheduler Using Macros

Automate Scheduler Using Macros

Automate Scheduler Using Macros

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 1: Run a Macro in<strong>Scheduler</strong>Run a CognosScript Macro <strong>Using</strong><strong>Scheduler</strong>DescriptionYou can schedule the execution of a CognosScript macro that runs anyOLE 2.0-compliant application with defined methods and properties. Forexample, you can run a macro that updates your local copy of adistributed Impromptu catalog at the end of every week. Because themacro will run on your computer, you must leave your computerswitched on with <strong>Scheduler</strong> running in order for the task to execute.The following procedure describes how to schedule a CognosScriptmacro to run at a specified time every day.Steps1. Open the <strong>Scheduler</strong> application window.2. From the Insert menu, click Recurring Task.3. In the File Name box, either type the file name and path of the newtask, or click Browse to locate the task.For example, you could type:UPDCATLG.MAC4. Type Update Local Catalog to identify the task in the Descriptionbox.5. Click the Timetable tab.6. Select Daily to run the task every day at the same time.7. In the Time box, set the time at which you want the task to run.The Effective From box shows the current date by default. The taskwill run every day at the same time starting today.<strong>Automate</strong> <strong>Scheduler</strong> <strong>Using</strong> <strong>Macros</strong> 5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!