Skip to content

Built-in crontab tasks

Task Default time Execution Description
Antivirus Checker Worker 0 */5 * * * * Executes every 5 minutes. Processes the antivirus check queue.
For more information, see Statistics.
Check disk space 0 0 0 * * * Daily execution at 00:00 Sends an email alert to the administrator when disk space is low.
Check Repository Integrity 0 0 0 * * SAT Executes each Saturday at 00:00 Checks repository integrity and generates a report.
Lucene Delayed Indexer 0 */5 * * * * Executes every 5 minutes. Indexes records in the background without switching the repository to read-only status.
The column NBS_FORCE_INDEX_REBUILD in the table OKM_NODE_BASE is used to mark the records that should be indexed.
Mail Extractor Worker 0 */5 * * * * Executes every 5 minutes. Processes the mail extractor queue.
Mail Extractor Issues 0 0 0 * * * Daily execution at 00:00 Processes mail extractor issues.
Metadata Refresh 0 0 0 * * * Daily execution at 00:00 Refreshes metadata.
Process Disposition 0 0 0 * * * Daily execution at 00:00 When the file plan is enabled, this cron processes the disposition state value.
Process Pending Tasks 0 */5 * * * * Executes every 5 minutes. Executes the pending task.
For more information, see Statistics.
Purge Activity Log 0 0 0 * * * Daily execution at 00:00 Deletes the activity log.
Purge Dashboard Activity 0 0 0 * * * Daily execution at 00:00 Cleans dashboard activity logs older than one month.
Purge Download Preview Tokens 0 */5 * * * * Executes every 5 minutes. Deletes expired preview tokens that have not been consumed.
Purge Empty Repository Directories 0 0 0 * * * Daily execution at 00:00 Purges empty folders in the repository.
Purge Node Versions 0 0 0 * * * Daily execution at 00:00 Purges all document history and keeps only the current version in the application.
Purge Old Trash Nodes 0 0 0 * * * Daily execution at 00:00 Purges old nodes in the trash.
Purge Orphan Repository Files 0 0 0 * * SUN Executes at 00:00 every Sunday Purges the files in the datastore that are not in the application database.
Purge Pending Downloads 0 0 0 * * * Daily execution at 00:00 Deletes pending downloads.
Purge Temporal Printing Files 0 0 0 * * * Daily execution at 00:00 Deletes temporary printing files.
Purge Tomcat Logs 0 0 0 * * * Daily execution at 00:00 Deletes the old Tomcat logs.
Purge Trash Batch 0 */5 * * * * Executes every 5 minutes. It does an incremental purge of the trash in the background.
Repository Info 0 0 0 * * * Daily execution at 00:00 Updates repository statistics.
Send Grouped Notifications 0 0 0 * * * Daily execution at 00:00 Sends daily email notifications grouped into a single message.
For more information, see the Profile Notification tab.
Sync LDAP users 0 0 0 1 1 * Executes at 00:00 on January 1st of every year. Synchronizes AD user data to the OpenKM database.
Text Extractor Issues 0 0 0 * * * Daily execution at 00:00 Collects text extraction issues and sends an email warning to the administrator.
Text Extractor Worker 0 */5 * * * * Executes every 5 minutes. Processes the text extraction queue.
For more information, see Statistics.
User Mail Importer 0 */30 * * * * Executes every 30 minutes. Imports the emails from registered users’ mail accounts.
Content Replication 0 */5 * * * * Executes every 5 minutes. Replicates content from the configured source server to the target repository. Only runs when a content replication source URL is configured.
Dashboard Chart 0 0 4 * * * Daily execution at 04:00 Executes every registered Dashboard Chart plugin whose frequency is due today: DAILY charts every day, WEEKLY charts on Sunday, MONTHLY charts on the 1st of the month.
Check Hprof Files 0 0 0 * * SAT Executes each Saturday at 00:00 Searches for heap dump (.hprof) files left behind in the Tomcat directories and, if any are found, emails the administrator a report and stores it in the repository.
Purge AI Prompt History 0 0 0 * * * Daily execution at 00:00 Deletes AI prompt history entries older than two months.
Purge AI Usage 0 0 0 * * * Daily execution at 00:00 Deletes AI usage log entries older than the configured retention period.