Sun Java System Portal Server 7.1 Command Line Reference

Chapter 6 Subscription

This chapter describes the following subcommands:

psadmin start-profiler

Description

This command starts the Profiler.

Syntax

psadmin start-profiler --organization DN -u admin_user -f password_fileDN --portal portalid [--username user list]

Following are the required options:

[--organization | -O]

DN of the target organization

[--portal-id | -p]

Specifies the portal (site) id. If portal id is not provided, the default portal id will be used.

Following are the optional options:

--username user list

Comma separated list of users to run the profiler against.

psadmin stop-profiler

Description

This command stops the Profiler.

Syntax

psadmin stop-profiler --organization DN -u admin_user -f password_file --portal portal_id

Following are the required options:

--organization

DN of the target organization

[--portal-id | -p]

Specifies the portal (site) id. If this is not supplied, the default will be used.

psadmin list-attributes

Description

This command lists subscription service attributes. This command uses the generic psadmin list-attribute subcommand.

Syntax

psadmin list-attributes -u admin_user -f passwordfile-p portalID -m subscription

psadmin get-attribute

Description

This command gets a subscription service attribute for a base dn. This command uses the generic psadmin get-attribute subcommand.

Syntax

psadmin get-attribute -u amadmin -f ps_password -p myPortal --component subscriptions --attribute-name ProfilerDefaultSearch [--dn|-d dn]

psadmin set-attribute

Description

This command sets a subscription service attribute for a base dn. This command uses the generic psadmin set-attribute subcommand.

Syntax

psadmin set-attribute -u amadmin -f ps_password -p myPortal --component subscriptions --attribute-name ProfilerDefaultSearch "http://kuma.Central.Sun.COM:80/mySearch/search" [--dn|-d dn]

psadmin schedule-tasks

Description

This command is used to schedule commands to be run at a specified time.

Syntax

psadmin schedule-tasks --adminuser | -u userName --passwordfile | -f password_file [--commandfile command_file]

The following are the required options:

-u | --adminuser admin_user

A user name used to authenticate to Portal Server.

-f | --passwordfile password_file

A password file used to fetch and present password to authentic Portal Server.

Following are the optional options:

--commandfile command_file

Specifies a file that contains tasks to run on a schedule. The command format is: command -options | day_of_week@hour:minute; day_of_week@hour:minute day_of_week can vary from 0 to 6. 0 represents Sunday and 6 represents Saturday. Hour varies from 0 to 23 and minute varies from 0 to 59

psadmin unschedule-tasks

Description

The command is used to make the scheduled commands unscheduled.

Syntax

psadmin unschedule-tasks --adminuser | -u userName --passwordfile | -f password_file [--commandfile command_file]

The following are the required options:

-u | --adminuser userName

A user name used to authenticate to Portal Server.

-f | --passwordfile password_file

A password file used to fetch and present password to authenticate access to Portal Server.

The following are the optional options:

--commandfile commandFile

Specifies a file that contains tasks to be removed from a schedule. The command format is: command -options |day_of_week@hour:minute ; day_of_week@hour:minute