cf_compact

cf_compact compacts a MS Access database programmatically, taking away the need to download, compact and upload the database manually.

Syntax

<cf_compact 
    database="database name" 
    backupdir="directory for a backup of the original database"
    tempdir="working directory"
>

DATABASE

Required. The fully qualified path to the database that needs to be compacted<./p>

BACKUPDIR

Required. The fully qualified path to a directory for a backup of the database. The database will be backed up before the process of compacting is started.

TEMPDIR

Required. The fully qualified path to a directory for storing temporary files.

Usage

Use cf_compact to compact a MS Access database remotely, bypassing the process of downloading, compacting and uploading. Compacting results in a more efficient database, both in speed and in size.
The following are prerequisits for the use of this tag:

<cf_compact> throws an error if something goes wrong or outputs the string "Done".

cf_compactall

cf_compactall compacts all MS Access database on a server. It is meant to be run as a scheduled job by a server administrator.

Syntax

Since cf_compactall is not run as a customtag but rather as a scheduled task, there is no specific syntax for calling it. However, administrators need to fill out the 3 variables below the copyright notice/disclaimer.

Usage

Use cf_compactall to compact all MS Access databases on a server. It is intended to be run as a scheduled job, so it provides no output to the user. However, an email with the results of the tag will be mailed to the specified email address of the administrator.
The following are prerequisits for the use of this tag:

<cf_compact> throws an error if something goes wrong or outputs the string "Done".

BSD licensed, full copyright notice, license and disclaimer are included in the source code.

This software is OSI Certified Open Source Software. OSI Certified is a certification mark of the Open Source Initiative.