movetask command
The movetask command moves a task to a different position in the list of tasks. The task position determines the order that the tasks are run when you run all the tasks at the same time. You use the listtask command to display the task order. The command names are not case sensitive.
movetask command syntax
The following syntax includes line breaks to format the command for reading. Enter the command and options on a single line, without any line breaks.
configmgr_cl movetask -task task_type | -taskfile task_file_name
-position new_position -profile myprofile [-silent][-force][-help]
movetask command parameters
- -task task_type
- The -task
task_type parameter indicates which task to move. This parameter must be included
if the -taskfile
task_file_name parameter is omitted. The task_type value is
not case sensitive. The following table lists the valid task names, the associated configuration XML
file, and a description of the CCX-GQL settings affected by the task.
Table 1. task_type values Option Configuration file Description downloadcejars downloadcejars.xml
Moves the task for the Update IBM Content Cortex Client Connector Files task.
importltpakey importltpakey.xml
Moves the task for importing the Content Platform Engine to the CCX-GQL server.
configureldap configureldap.xml
Moves the task configuring the connection to the directory server for authenticating Content Cortex GraphQL users.
deployapplication deployapplication.xml
Moves the task for deploying the CCX-GQL application on the application server. - -taskfile task_file_name
- The -taskfile
task_file_name parameter specifies the configuration XML file to use.
If only one task file exists for the task_type, then the -taskfile task_file_name parameter is optional.
If more than one task file for the task_type exists, then you must include the -taskfile task_file_name parameter. You can omit the -task task_type parameter when you specify the -taskfile task_file_name parameter.
- -profile myprofile
- The -profile
myprofile parameter specifies the profile to use. The
myprofile value can be one of the following items:
- The name of the profile, such as CSGQLTestProfile. The profile must be located in the <csgql_installation_path>/csgraphQLtool/configure/profiles directory, where <csgql_installation_path> is the location where the CCX-GQL software is installed.
Remember: If the path includes a directory name with spaces, enclose the entire path in quotation marks. - -positionnew_position
- The -positionnew_position parameter specifies the new position in the list for the item. You can run the listtasks to view the list of tasks in the profile and their position before you run the movetask command.
- -silent
- The -silent parameter is optional. When -silent is specified, then no prompts or informational messages are displayed in the console, but the errors are written to the log. Failure messages and validation error messages are displayed as needed, such as messages about missing passwords or invalid port numbers. If you run the execute command to run all the tasks in a profile, and you specify the -silent parameter, you must also specify the -force parameter.
- -force
- The -force parameter is optional and only applies when the -silent parameter is used. When -force is specified, then the task is run without pausing for required responses to validation error messages, such as messages about missing passwords or invalid port numbers.
- -help
- The -help parameter is optional and displays a brief message on the command syntax instead of running the command.
movetask command examples
- Move the configureldap task.
- The following command moves the importltpakey task from the default position of
task 3 to task 4 in the CSGQLTestProfile profile located in the
ce_install_path/tools/configure/profiles/CSGQLTestProfile
directory:
configmgr_cl movetask -task importltpakey -position 4 -profile CSGQLTestProfile - Display the help for the movetask command.
- The following command displays the help for the movetask
command:
configmgr_cl movetask -help