InTime Software

How to cancel a strategy via the InTime Server

84 views September 14, 2016 June 4, 2018 pohheng 0

Cause:

When a worker is working on a strategy, there could be issues that cause the worker to hang or crash. The status of the strategy will remain in that state, in which case, the user can choose to cancel that particular strategy.

Resolution:

Example: To cancel a strategy, perform the following Private Cloud commands below:

admin> .revision=5038

+-----+------------------------+-------+-----------+-----------+----------------+-------------------+-------+---------+---------+-------+
| NO. | CLIENTID               | JOBID | USERID    | STATUS    | TOOLCHAIN_STEP | REVISION          | START | UPDATED | TIME    | RETRY |
+-----+------------------------+-------+-----------+-----------+----------------+-------------------+-------+---------+---------+-------+
| 1   | z00111111_000C29404D50 | 5038  | z00111111 | COMPLETED | RUNDONE        | cal_speed_tns_low | 02:47 | 02:50   | 03m:13s | 1/3   |
| 2   | z00111111_000C29404D50 | 5038  | z00111111 | ASSIGNED  | NIL            | calibrate_1       | 02:52 | 02:52   | 00m:16s | 1/3   |
+-----+------------------------+-------+-----------+-----------+----------------+-------------------+-------+---------+---------+-------+

2 rows (0.01 sec), 2016-09-14 02:52:55

admin> .revision.cancel=5038

+--------+------------------------+-------+-----------+----------+----------------+-------------+
| INDEX. | CLIENTID               | JOBID | USERID    | STATUS   | TOOLCHAIN_STEP | REVISION    |
+--------+------------------------+-------+-----------+----------+----------------+-------------+
| 1      | z00111111_000C29404D50 | 5038  | z00111111 | ASSIGNED | STARTING       | calibrate_1 |
+--------+------------------------+-------+-----------+----------+----------------+-------------+

Enter worker INDEX numbers and/or ranges separated by commas.
For example, 1,3,5-9
admin.revision.cancel=5038> 1

Proceed to cancel revision? ('n' for No or 'y' for Yes) [n]

admin.confirm> y
admin> .revision=5038

+-----+------------------------+-------+-----------+-----------+----------------+-------------------+-------+---------+---------+-------+
| NO. | CLIENTID               | JOBID | USERID    | STATUS    | TOOLCHAIN_STEP | REVISION          | START | UPDATED | TIME    | RETRY |
+-----+------------------------+-------+-----------+-----------+----------------+-------------------+-------+---------+---------+-------+
| 1   | z00111111_000C29404D50 | 5038  | z00111111 | COMPLETED | RUNDONE        | cal_speed_tns_low | 02:47 | 02:50   | 03m:13s | 1/3   |
| 2   | z00111111_000C29404D50 | 5038  | z00111111 | CANCELLED | NIL            | calibrate_1       | 02:52 | 02:52   | 00m:16s | 1/3   |
+-----+------------------------+-------+-----------+-----------+----------------+-------------------+-------+---------+---------+-------

2 rows (0.01 sec), 2016-09-14 02:53:15

admin>
Applies to:
  • Linux Operating System
  • Windows Operating System

Knowledge Base ID: 181830 - Last Review: Sep 14, 2016 - Revision: 1.0

Leave a Reply