COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => COGNOS 8 Administration => Topic started by: babu babu on 15 Feb 2011 01:10:23 PM

Title: Scheduling cognos services
Post by: babu babu on 15 Feb 2011 01:10:23 PM
Hi,
I need to restart  the cognos services every morning.How can i schedule that.Please give me the solution.

Thanks!
Anand.
Title: Re: Scheduling cognos services
Post by: MFGF on 16 Feb 2011 05:17:23 AM
That would appear to be a Windows question - Cognos 8 has no capabilities to start itself.  You could write a batch file with entries like

NET STOP "IBM COGNOS 8"
NET START "IBM COGNOS 8"

then schedule this via the windows scheduler - at - this would probably suffice.

I can't resist asking, though, why you would need to do this??

MF.
Title: Re: Scheduling cognos services
Post by: babu babu on 16 Feb 2011 02:04:18 PM
Thanks MF.

When i am coping cognos cube from one server to other server  it's giving error like not able to run because it is running by other program or person.After restarting the services only i can copy the cube.That's why i want schedule the services.

Thanks!
Anand.
Title: Re: Scheduling cognos services
Post by: Suraj on 16 Feb 2011 03:15:51 PM
For Cognos 8, use batch files along with PCCONN utility to disable the cube data source, wait for 15 minutes to clear active connections and then enable the cube data source.
That's what we do and we never have to restart Cognos for swapping cubes.
Look at Transformer user guide or search IBM for PCCONN usage.
Title: Re: Scheduling cognos services
Post by: jleyba on 16 Mar 2011 02:27:42 PM
Quote from: Suraj Neupane on 16 Feb 2011 03:15:51 PM
For Cognos 8, use batch files along with PCCONN utility to disable the cube data source, wait for 15 minutes to clear active connections and then enable the cube data source.
That's what we do and we never have to restart Cognos for swapping cubes.
Look at Transformer user guide or search IBM for PCCONN usage.
Or just use PowerCube versioning (if you're using 8.4 / 8.4.1).

For more info, check "Chapter 8: PowerCubes in Production Environments" in the Cognos 8.4 Transformer User Guide.