Telligent Community has a set of tasks that periodically run in the background and perform operations that are not suited for running on every Web request. These tasks are configurable and are defined in two places. The tasks that should be run on every Web server are located in the tasks.config file of your Web folder. (See below.) The tasks that should be run on only one node are in the tasks.config file of your Tasks folder.
top
AnonymousUsersJob
The AnonymousUsersJob clears inactive users from the list of recently active members and guests. It removes guests who have been inactive for over five minutes and members who have been inactive for over 10 minutes.
top
ReferralsJob
The ReferralsJob logs referral information to the database. When users view a page in the community, the URL the user was referred from is cached on the server. This job saves the list of referrals in memory to the database for permanent storage. The referral information can then be used by reporting tools such as Telligent Analytics.
top
ViewsJob
The ViewsJob logs view counts of weblog, forum, and media gallery posts to the database. Whenever a user views a post in the community, the view is cached on the server. This job saves the list of view counts in memory to the database for permanent storage. The view count information can then be used by reporting tools such as Telligent Analytics.
top
WikiPageViewsJob
The WikiPageViewsJob logs view counts of Wiki pages to the database. Whenever a user views a wiki page in the community, the view is cached on the server. This job saves the list of view counts in memory to the database for permanent storage. The view count information can then be used by reporting tools such as Telligent Analytics.
top
EmailDigestDailyJob
The EmailDigestDailyJob sends daily digest emails to users who have subscribed. It uses activity messages to determine what activities to report on.
top
EmailDigestWeeklyJob
The EmailDigestWeeklyJob sends weekly digest emails to users who have subscribed. It uses activity messages to determine what activities to report on.
top
LegacyEmailJob
The LegacyEmailJob sends emails queued in the mg_BulkEmailQueue and mg_EmailQueue tables. These tables are no longer used in 3.0, but a site that upgrades from a previous version may still have emails queued to these tables waiting to be sent. This job reads those tables and sends any emails found in them. It is safe to remove this job after its initial run, as no new emails will be queued to these tables.
top
SiteReindexJob
The SiteReindexJob reindexes all items on the site when role permissions are changed and search needs to recalculate them.
top
SearchIndexingContentHandlerTask
The SiteIndexingContentHandlerTask indexes site content. Content handlers are registered as parameters to the job.
Each content handler continues to work until there are no more items to be indexed. For example, if there are 1,000 forum posts to be indexed, and the documentsPerRun parameter is 100, the ForumPostContentHandler will run 10 times, requesting 100 items per run for a single forum post indexing run. After all 1,000 have been indexed, the task will sleep and move on to the next task.
Optional parameters:
- documentsPerRun - Number of items to retrieved for indexing during each cycle. The default value is 100.
top
IndexOptimizationJob
The IndexOptimizationJob optimizes the Solr indexes periodically to keep search performing optimally.
top
ModeratedFeedbackNotificationJob
The ModeratedFeedbackNotificationJob checks for blogs that have exceeded the number of comments needing moderation and sends out an email to the owners letting them know moderation is needed.
top
TagCleanupJob
The TagCleanup task removes tags which are no longer used in any posts in the application types specified in the applications parameter.
Optional parameters:
- applications - A comma-delimited list of the application types which should have their tags cleaned up. The default value is Forum.
top
CalculateTagCountsJob
The CalculateTagCountsJob updates statistics for tags used in the community, including the number of posts that reference each specific tag.
top
SiteStatisticsJob
The SiteStatisticsJob task updates general site statistics. These include totals and most recent posts, threads, users, etc. Statistics will only be updated if the time since the last update is greater than the time specified in the hours parameter.
top
EventLogJob
The EventLogJob removes old entries from the Event Log to keep it to a manageable size.
top
GenerateWeblogYearMonthDayListJob
The GenerateWeblogYearMonthDayListJob generates the year, month, and day post counts for each weblog and stores them in summary tables. This increases performance when viewing this data inside of a blog as it does not need to be dynamically calculated on each request.
top
CalclulateBlogTotalsJob
The CalclulateBlogTotalsJob updates statistics for each weblog in the community. This includes the most recent post and page information; and total counts of posts, pages, comments, and trackbacks.
top
TemporaryUserTokenExpirationTask
The TemporaryUserTokenExpirationJob removes temporary user tokens from the cs_TemporaryUserTokens database table once they have passed their expiration date.
top
TemporaryStoreExpirationTask
The TemporaryStoreExpirationTask removes temporary storage data that is no longer needed. This data is initially stored when switching from the plain text editor to the rich text editor.
top
RollerBlogsUpdater
The RollerBlogsUpdater job updates weblogs with recent content from mirrored feeds. Telligent Community supports a featured called blog mirroring, which imports content from RSS feeds into a weblog. Weblog owners can add a list of blog feeds to import from for each blog. This task retrieves the content for each configured feed and adds or updates blog posts to reflect the content in the feed.
top
UpdateForumStatisticsJob
The UpdateForumStatisticsJob updates statistics for each forum in the community. This includes the most recent post and page information; and total counts of posts.
top
PostAttachmentCleanupJob
The PostAttachmentCleanupJob removes temporary post attachment data that is no longer needed. Post attachments need to be uploaded to the site before a post is published; they are first stored as temporary post attachments before being moved to post attachments when the post is saved. If, however, an attachment is uploaded but the user then decides not to save the post, the post attachment is orphaned and remains on the server. Temporary attachments that have been on the server for over the length of time specified in the expiresAfterHours parameter are removed.
Optional parameters:
- expiresAfterHours - The time in hours before a temporary post attachment is deleted. The default value is 2.
top
ThemeConfigurationPreviewCleanupJob
The ThemeConfigurationPreviewCleanup task removes preview data that is no longer needed. When a theme is previewed from the Site Themes page, a copy of the theme’s configuration is saved in the database so that the site can use that configuration when rendering pages in preview mode. This task removes preview data that is older than the length of time specified in theexpiresAfterHours parameter.
Optional parameters:
- expiresAfterHours - The time in hours before a theme configuration preview is deleted. The default value is 2.
top
UserInvitationExpirationJob
The UserInvitationExpirationJob deletes user Invitations which have not been accepted within the time specified in the expirationDays parameter.
Optional parameters:
- expirationDays - The number of days after which User Invitations should expire. The default value is 30.
top
The DeleteStaleSpamCommentsJob deletes old weblog comments and trackbacks that were rated as spam by the Spam Blocker and archived to the spam comments table. Items older than the number of days specified in the expirationDays parameter are permanently deleted.
Optional parameters:
- expirationDays - The number of days after which spam item should be deleted. The default value is 2.
top
MultipleFileUploadCleanupJob
The MultipleFileUploadCleanupJob removes temporary files created by the MultipleUploadFileManager control which are no longer needed. When files are uploaded using the MulipleUploadFileManager control, they need to be stored in a temporary location before they are all copied across to their final destination. If, however, a file is uploaded but the user then decides not to save the files, the files uploaded so far are orphaned and remain on the server. This task removes these temporary files which have been on the server for over the length of time specified in the expiresAfterHours parameter.
Optional parameters:
- expiresAfterHours - Tthe time in hours before temporary upload files are deleted. The default value is 2.
top
MessageRemovalTask
The MessageRemovalTask removes old activity messages from the community to keep the total number manageable and improve performance. Status messages are not removed by this task. All activity messages older than the expirationDays value and not within the most recentminUserMessages value number of messages for each user are removed.
Optional parameters:
- expirationDays – The number of days after which activity messages should be deleted. The default value is 30.
- minUserMessages – The minimum number of activity messages to keep for each user. If an activity message is within this count it will not be deleted even if older than theexpirationDays value. The default value is 30.
top
Related information