Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Services
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Security
Unlock the full power of Microsoft Security
Offensive Security
Solutions to maximize your security ROI
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
Loading...
Loading...

HOWTO: How do I schedule multiple Word and Excel reports to run simultaneously?

Expand / Collapse


This article applies to:

  • WebTrends Firewall Suite 4.X

Question:

How do I schedule multiple Word and Excel reports to run simultaneously?

Symptoms:

  • Error: Another copy of MS-Word or MS-Excel is already running. Due to problems running concurrent versions of these Microsoft applications, only one copy of the converter can run at any one time. Do you wish to wait for the previous copy to complete or abort this copy?

Causes:

Due to program limitations in the Microsoft Office tool, which is required by the WebTrends product line to create Microsoft Word and Excel documents that are compatible with Microsoft Office 97, 2000, and XP, the WebTrends products cannot create multiple Microsoft Word or Excel documents at once. If the reports overlap, the above error will result. This can pose a significant scheduling challenge if the user needs to generate a large amount of Excel or Word reports.

Procedure:

Download the file waitforfile.zip from the Article Attachments section below.

Within the downloaded zipped file the following files are contained:

  • waitforfile.exe
  • pre1.bat
  • post1.bat

Extract the file into a working directory and take a look at pre1.bat and post1.bat to see how they might be implemented.

Essentially, 'flag' files in a storage directory should be created, and place a copy of these files into a working directory. Create one flag file for each scheduled event that generates Microsoft Word or Excel reports. Then, use the waitforfile.exe program as a pre-processing command that will look for one of the flags.

If the flag is in place then waitforfile.exe will wait for that flag file to be deleted. When the file is deleted by the previous post processing batch file (see post1.bat), waitforfile.exe will release the pre-processing stage and allow the scheduled event to process the profile. When the profile has finished and created its report, post-processing is engaged and copies the file for which the scheduled event was waiting (so it does not start again until its turn) from the storage directory. It then deletes the file the next scheduled event is looking for from the working directory so that the next job can start.

Notes:

This tool should not be used on scheduled events that are using the same profile as they queue up.

Also, if possible, increase the Simultaneous Processes to the number of events (Microsoft Excel or Word events) that will be running at one time. This prevents a job from becoming stuck in the queue when another is dependent upon it finishing.

This article was previously published as:
NETIQKB1110

To contact Trustwave about this article or to request support:


Rate this Article:
     
Tags:

Attachments



Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.