Home > Domino Tips > Administrator > Database > Batch file runs scheduled Lotus Notes database maintenance tasks
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

DATABASE

Batch file runs scheduled Lotus Notes database maintenance tasks


Brian Graham
10.16.2008
Rating: -2.92- (out of 5)


Lotus Notes and Domino tips, tutorials and how-to articles
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


After dealing with numerous issues with a large and problematic Lotus Notes database, I contacted IBM. They instructed me to run a Compact –c -i, Fixup -F, Updall -X, and Updall -R (in that order) with our Lotus Domino server offline.

This seemed like a lot of work, so I developed a hands-off approach. I created a simple batch file to shut down the Lotus Domino server, run these tasks and restart the server.

I receive notifications on my cell phone when a Domino server goes offline. Therefore, I know when the maintenance tasks start. I'm notified again when the server is back online.

In our environment, the Domino server is installed at D: LotusDomino. Here is the batch file:

[IMAGE]
(Click on code for enlarged view and script download.)

You'll need t...


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Database
LotusScript code rebuilds corrupted busytime.nsf file
How to move Notes databases off Domino 8 servers and save disk space
Top 10 Lotus Notes/Domino administration tips of 2008
Fix and update Lotus Notes documents with limited access
Programmatically replace the design of Lotus Notes databases
Add a program doc to compact Lotus Notes databases automatically
More efficient local Lotus Notes database replication
Remove orphaned Lotus Notes documents on Domino databases with a 'virtual delete'
Detect and fix 'Manager' access control list settings in Lotus Notes Domino
Copy Lotus Notes databases from the Domino Server console command line

Lotus Notes Domino Database Management
Domino Domain Monitoring hints and gotchas
LotusScript code rebuilds corrupted busytime.nsf file
LotusScript agent automates selective mail file replication
Configuring Domino Domain Monitoring (DDM)
How to move Notes databases off Domino 8 servers and save disk space
What is Notes 8.5's DAOS (Domino Attachment and Object Storage) feature?
LotusScript agent indexes Lotus Notes/Domino databases
An introduction to Domino Domain Monitoring (DDM)
'Customize this view' options are disabled in Lotus Notes databases
LotusScript button saves time searching large Lotus Notes databases

Lotus Notes Domino Performance
Domino Domain Monitoring hints and gotchas
Using Domino Administrator to manage client settings
Build your own Domino multi-server test environment
How the Agent Profiler tool improves Notes/Domino performance
Benefits of virtualizing Lotus Domino servers
Configuring Domino Domain Monitoring (DDM)
How to move Notes databases off Domino 8 servers and save disk space
What is Notes 8.5's DAOS (Domino Attachment and Object Storage) feature?
Domino server setting and email policy tricks admins must know
Top 10 Lotus Notes/Domino administration tips of 2008

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


o modify this so that it points to your Lotus Notes database. You also must also verify that your server service is named so that both the net stop and net start work properly.

Once the batch file is created, go to "Scheduled Tasks" in the Control Panel, add the new task, point to the batch file, and schedule when you want the maintenance to run.

Do you have comments on this tip? Let us know.

This tip was submitted to the SearchDomino.com tip library by member Brian Graham. Please let others know how useful it is via the rating scale below. Do you have a useful Lotus Notes, Domino, Workplace or WebSphere tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.

Rate this Tip
To rate tips, you must be a member of SearchDomino.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts