COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => COGNOS 8 Administration => Topic started by: gats1527 on 05 Apr 2010 09:31:11 AM

Title: Daily Schedule of Planning Macro
Post by: gats1527 on 05 Apr 2010 09:31:11 AM
We have a planning macro which we would like to have run only on Thursday and Friday for every half hour.  Since the scheduler only allows you to select days or hours but not certain times for certain days.  Would anyone have an idea on how to best accomplish this?  Thank you

Tom
Title: Re: Daily Schedule of Planning Macro
Post by: CognosSupport on 11 Jun 2010 10:27:31 PM
Hm... maybe via trigger.bat?
Schedule your job to run with trigger, so it runs when a trigger kicks in.
Link that trigger to trigger.bat you created, then setup another batch file that runs every Thursday and Friday for 30 mins to call trigger.bat.

Look for info in ug_cra under "Setting Up Trigger-based Scheduling", "Schedule an Entry Based on an Occurrence", and "Set Up a Trigger Occurrence on a Server".

Rocks has also provided example somewhere in this forum...:
http://www.cognoise.com/community/index.php?topic=4268.0

Regards,
Z