COGNOiSe.com - The IBM Cognos Community

ETL, App Development and other tools => COGNOS DecisionStream/Data Manager => Topic started by: gatorfe on 23 Sep 2013 09:43:50 AM

Title: Create delay in DOS batch file
Post by: gatorfe on 23 Sep 2013 09:43:50 AM
Hello, on a windows 2008 server we currently have a dos batch file that calls several DM jobs(10 of them) to run a data refresh from our db2 erp system to an sql data warehouse.  We want to add a delay between the jobs of 30 seconds.  We wanted to use the ping command, but not sure how to set it up.  Thanks in advance for your suggestions!
Title: Re: Create delay in DOS batch file
Post by: terry_stjean on 27 Sep 2013 09:40:13 AM
Try this.

PING 1.1.1.1 -n 1 -w 30000

This should cause a delay of 30 seconds.