Maintenance utilities > Subscription Manager
clear_old_newsfeed_messages
Purges messages based on the purge threshold (in number of days) that you set using the SCM_newsfeed_purge_threshold preference. Messages that are older than the threshold will be deleted. When the -process_only_read_messages option is provided, the utility only considers already read messages for deletion. Unread messages, even those that exceed the threshold, are not deleted. Note This utility can only be run by a Teamcenter administrator. Syntax clear_old_newsfeed_messages -u=user-ID {-p=password | -pf=password-file} -g=group -process_only_read_messages -h Arguments -u Specifies the Teamcenter administrator's user ID. This is a user with Teamcenter administration privileges. If this argument is used without a value, the operating system user name is used. Note If Security Services single sign-on (SSO) is enabled for your server, the -u and -p arguments are authenticated externally through SSO rather than being authenticated against the Teamcenter database. If you do not supply these arguments, the utility attempts to join an existing SSO session. If no session is found, you are prompted to enter a user ID and password. -p Specifies the Teamcenter administrator's password. If used without a value, the system assumes a null value. If this argument is not used, the system assumes the user-ID value to be the password. This argument is mutually exclusive with the -pf argument. -pf Specifies the password file. This argument is mutually exclusive with the -p argument. -g Specifies the group associated with the user. If used without a value, the user's default group is assumed. -process_only_read_messages Deletes only read messages. -h Displays help for the utility. Related Topics Subscription Management
Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/mna1737253705286/mfi1737253708156/xid1978402.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)