In Telligent Enterprise 3.0, tasks are queued in order to improve performance and scalability by reducing the load that could be caused by several initiating at the same time.
Telligent Enterprise 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.
Some jobs are run in every Web environment; some are run only by the Job Scheduler.
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.
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.
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.
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.
The EmailDigestDailyJob sends daily digest emails to users who have subscribed. It uses activity messages to determine what activities to report on.
The EmailDigestWeeklyJob sends weekly digest emails to users who have subscribed. It uses activity messages to determine what activities to report on.
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.
The SiteReindexJob reindexes all items on the site when role permissions are changed and search needs to recalculate them.
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.
The IndexOptimizationJob optimizes the Solr indexes periodically to keep search performing optimally.
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.
The TagCleanup task removes tags which are no longer used in any posts in the application types specified in the applications parameter.
The CalculateTagCountsJob updates statistics for tags used in the community, including the number of posts that reference each specific tag.
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.
The EventLogJob removes old entries from the Event Log to keep it to a manageable size.
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.
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.
The TemporaryUserTokenExpirationJob removes temporary user tokens from the cs_TemporaryUserTokens database table once they have passed their expiration date.
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.
The RollerBlogsUpdater job updates weblogs with recent content from mirrored feeds. Telligent Enterprise 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.
The UpdateForumStatisticsJob updates statistics for each forum in the community. This includes the most recent post and page information; and total counts of posts.
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.
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.
The UserInvitationExpirationJob deletes user Invitations which have not been accepted within the time specified in the expirationDays parameter.
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.
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.
The UnlockUsersJob is only used by Telligent Enterprise. It unlocks user accounts that have been locked for more than 5 minutes due to too many failed login attempts.
The LdapSyncJob is only used by Telligent Enterprise. It keeps Active Directory groups that have been mapped to Telligent Enterprise roles in sync.
When a user is removed from an Active Directory group, the user will also be removed from the mapped role in Telligent Enterprise. Likewise, when a user is added to an Active Directory group, the user will also be added to the mapped role in Telligent Enterprise. If a user is deleted from Active Directory, he/she will be removed from all mapped roles he/she was in, but this job will not delete the user. If the user should be deleted as well, that should be done manually.
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.
Powered by Zimbra