My compact program does not run on the server, I get an error message at the schedule times:
04/30/2003 11:00:39 PM Running Program document for ‘Compact -S 15’
04/30/2003 11:00:39 PM Unable to run program Compact .EXE: Unable to locate program
Has anyone seen this on a 6.0.1 server?
Thank you,
Mary
Subject: Compact does not run from Program document
A followup here… the program documents are made to have the exact text that you would enter at the console, minus the 'load ’ part.
So, for a ‘load compact mail -A’, for example, to run archiving on all files in the mail directory, the program doc looks like this:
Program name: compact
Command line: mail -A
with the obvious parameters for server and time also filled in. As far as I know, you don’t ever use the ‘O/S’ version (ncompact, etc.).
(It would be clearer if the ‘Command line’ field name said ‘command line options/arguments’, since the command line is compact mail -A 
Lee Sweet
Subject: RE: Compact does not run from Program document
Thanks so much for this info, the admin help doesn’t make this very clear at all. I had written a batch script that would run compact on a schedule because I never could get the Program document to work.
Thanks again,
Charles
Subject: Compact does not run from Program document
You have to use the file name and not the Domino name for the task.
Instead of ‘compact’ use ‘ncompact’ in the program name field
Subject: RE: Compact does not run from Program document
Well, that is not what the admin help calls for, but I did test it with the same response:
05/02/2003 12:55:17 PM Running Program document for ‘NCompact -S 15’
05/02/2003 12:55:18 PM Unable to run program NCompact .EXE: Unable to locate program
Perhaps something has changed. They way I originally configured the program doc: (I changed it to Ncompact for the test)
Program name: compact
Enabled/disabled: Enabled
Command line: -S 5
Run at times: 11:00 PM each day
Server to run on: server name here
Repeat interval of: 0 minutes
Comments:
Days of week: Sat
Subject: RE: Compact does not run from Program document
Three questions
-
Is ncompact.exe in your program directory on the server (i.e. D:\Lotus\Domino)?
-
Can you run compact manually from the console (i.e. ‘load compact -S 5’)?
-
Can you run compact from a command line (i.e. open a command prompt on the server, change to the drive and program directory of the Domino installation and type in ‘ncompact -S 5’)?
Subject: RE: Compact does not run from Program document
Yes, ncompact is in the programd directory, and I can run compact manually with several switches, ie -S 15 or -a
Running it from the NT command line interface works as well.
It just doesn’t seem to run from the program doc.
Subject: Compact does not run from Program document
I had same problem. Something is wrong.
Subject: RE: Compact does not run from Program document
My compact set for the weekend ran. I copied the one that ran and changed the parameters, and my problem seems to be resolved. If you look at the listing below, it appears that there may be an extra space on the -S 15, which is the one that did not work. It is hard to see in this font, but that appears to be the answer to my problem. I hope that yours gets sorted as well.
05/02/2003 11:00:36 PM Running Program document for ‘Compact -S 15’
05/03/2003 11:00:58 PM Running Program document for ‘compact -S 5’
Mary