About Running Scripts Through the Portal
An external operation
enables you to run shell scripts (for example, .sh or .bat files)
through the portal and schedule these actions through portal jobs.
For example, you might want to create a script that queries documents,
pings portal servers, e-mails snapshot query results to users, or
runs some other custom job, then create an external operation that
points to the script, and use a job to run the script on a specified
schedule.
External Operations Created Upon Installation
When you install the portal, there are two working example external
operations that are created in the
Intrinsic Operations portal folder:
- Bulk Subscriber: This external operation
subscribes users to communities and groups when you use bulk add.
Snapshot Query Mailer: This is a sample
external operation that e-mails the results of snapshot queries to
users.
For more information on this external operation, see E-mailing the Results of a Snapshot Query.
- Creating External Operations to Run Scripts Through the PortalAn external operation enables you to run shell scripts (for example, .sh or .bat files) through the portal and schedule these actions through portal jobs. For example, you might want to create a script that queries documents, pings portal servers, e-mails snapshot query results to users, or runs some other custom job, then create an external operation that points to the script, and use a job to run the script on a specified schedule.