2.24.7 delete-managed-scheduled-executor-service
Removes a managed scheduled executor service resource with the specified JNDI name.
Synopsis
asadmin [asadmin-options] delete-managed-scheduled-executor-service [--help] [--target target] managed_scheduled_executor_service_name
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The delete-managed-scheduled-executor-service subcommand removes a managed scheduled executor service resource with the specified JNDI name. This subcommand is supported in remote mode only.
Precondition
Domain Administration Server (DAS) is running.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- --target target
-
Specifies the target from which you are deleting the resource.
Type: String
The following values can be specified:
-
server
Deletes the resource from the default server instance. This is the default value.
-
domain
Deletes the resource from the domain.
-
cluster_name
Deletes the resource from every server instance in the specified cluster.
-
instance_name
Deletes the resource from the specified server instance.
Default value: server
-
- managed_scheduled_executor_service_name
-
Specifies the JNDI name of the resource.
Type: String
The following values can be specified:
-
JNDI name of the resource
Default value: N/A
-
Examples
The following example deletes the managed scheduled executor service resource named concurrent/myScheduledExecutor on the server instance instance1.
asadmin delete-managed-scheduled-executor-service --target instance1 concurrent/myScheduledExecutor
Exit Status
Exit Status |
Explanation |
---|---|
0 |
command executed successfully. |
1 |
error in executing the command. |