Loading...

Managing Schedules and Schedule Policies Using the Command Line Interface

You can enable, disable, or delete schedules and schedule policies.

Procedure

  1. If you are not logged on to the CommServe computer, run the qlogin command.
  2. Download the appropriate XML file to the computer where you will run the command:
  3. On the command line, go to software_installation_directory/Base, and then type one of the following commands:

    Schedules

    • To enable a schedule, type the following command:

      qoperation execute -af schedules_manage.xml -opType ENABLE -subtaskName schedule_name

    • To disable a schedule, type the following command:

      qoperation execute -af schedules_manage.xml -opType DISABLE -subtaskName schedule_name

    • To delete a schedule, type the following command:

      qoperation execute -af schedules_manage.xml -opType DELETE -subtaskName schedule_name

    Note: You can also define parameter values in the schedule_policies_manage.xml file instead of on the command line. For more information on command line parameters and XML elements, see Command Syntax for XML Commands.

    Schedule Policies

    • To enable a schedule policy, type the following command:

      qoperation execute -af schedule_policies_manage.xml -opType ENABLE -taskName schedule_policy_name

    • To disable a schedule policy, type the following command:

      qoperation execute -af schedule_policies_manage.xml -opType DISABLE -taskName schedule_policy_name

    • To delete a schedule policy, type the following command:

      qoperation execute -af schedule_policies_manage.xml -opType DELETE -taskName schedule_policy_name

    Note: You can also define parameter values in the schedules_manage.xml file instead of on the command line. For more information on command line parameters and XML elements, see Command Syntax for XML Commands.

  4. To log off the CommServe computer, run the qlogout command.