This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:real_case_guidance:how_to_terminate_the_mission [2015/05/06 11:01] liuxl |
en:real_case_guidance:how_to_terminate_the_mission [2017/12/12 03:05] (current) |
||
|---|---|---|---|
| Line 49: | Line 49: | ||
| ====Terminate the operation of "Direct Delete"==== | ====Terminate the operation of "Direct Delete"==== | ||
| - | If you choose "Direct Delete",当选择直接删除时,要想取消正在删除数据操作,需要在服务器上执行如下命令: | + | When you want to end the process of "Direct Delete", you should execute the command on server,as following: |
| <code> /etc/init.d/php-fpm restart </code> | <code> /etc/init.d/php-fpm restart </code> | ||
| Line 56: | Line 56: | ||
| ====Terminate the operation of "Shell Delete"==== | ====Terminate the operation of "Shell Delete"==== | ||
| - | ===取消未进行任务删除操作=== | + | ===Terminate the operation of "Open"=== |
| - | 取消”未执行“的数据删除操作,只需点击[呼叫中心高级管理]->[批次任务管理],找到要取消的数据删除任务计划,点击[删除]按钮即可。 | + | We just find the plan on [Call Center]->[Shell Jobs]->[Shell Delete Management] and delete it by clicking the [Delete] button. |
| - | ===取消执行中的删除任务操作=== | + | ===Terminate the operation of "Deleting"=== |
| + | |||
| + | We should execute the following command on server first if we want to end the process of "Shell Delete" ongoing. | ||
| - | 终止正在执行删除任务,需要在服务器上先执行如下命令: | ||
| <code> ps ax |grep asterccdelete </code> | <code> ps ax |grep asterccdelete </code> | ||
| - | 可以看到类似这样的数据:数字 ? S 0:01 php -q /var/www/html/asterCC/cake/console/cake.php -working /root -app /var/www/html/asterCC/app asterccdelete ,说明脚本正在执行删除任务,使用:sudo kill id(任务的进程号,数字)即可结束删除。 | + | |
| + | if you get the return like following:XXX ? S 0:01 php -q /var/www/html/asterCC/cake/console/cake.php -working /root -app /var/www/html/asterCC/app asterccdelete ,it means that the script is working for deleting,you should use the command:sudo kill id(XXXX),to end the process. After our manipulate,we should click the [Delete] button as soon as possible in [Call Center]->[Shell Jobs]->[Shell Delete Management].Until now,we have terminated the "Shell Deleting". | ||