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 09:43] liuxl |
en:real_case_guidance:how_to_terminate_the_mission [2017/12/12 03:05] (current) |
||
|---|---|---|---|
| Line 28: | Line 28: | ||
| If we need end the "Importing" task now,at first,we should execute the command on server,as following: | If we need end the "Importing" task now,at first,we should execute the command on server,as following: | ||
| - | <code> ps ax | grep asterccimport </code> If you can get returns like: XXXX ? S 0:01 php -q /var/www/html/asterCC/cake/console/cake.php -working /root -app /var/www/html/asterCC/app asterccimport,as following: | + | <code> ps ax | grep asterccimport </code> If you can get returns like following: XXXX ? S 0:01 php -q /var/www/html/asterCC/cake/console/cake.php -working /root -app /var/www/html/asterCC/app asterccimport: |
| {{:zh:实际案例指导:查看后台导入进程01.png?700|}} | {{:zh:实际案例指导:查看后台导入进程01.png?700|}} | ||
| - | 说明脚本正在执行导入任务,使用:sudo kill id(任务的进程号,数字),例如:kill 9285。执行完后,在[呼叫中心高级管理]->[批次任务管理]中查看到的状态为"导入出错",如下图: | + | it means that the script is working for importing,you should use the command:sudo kill id(XXXX),for instance:kill 9285. After our manipulate,you can find "Error" in [Call Center]->[Shell Jobs]->[Import Jobs] ,as following: |
| - | {{:zh:实际案例指导:查看后台导入进程02.png?700|}} | + | {{:en:real_case_guidance:error_status01.png?700|}} |
| - | 此时,点击[删除]按钮,将此导入计划任务删除掉即可。 | + | Now,let‘s click the [Delete] button as soon as possible. Until now,we terminate "Importing" manipulation. |
| - | =====删除数据===== | + | =====Deleting data===== |
| - | 删除客户数据:在[外呼营销]->[客户管理],先选择哪个任务下的客户数据,然后点击[根据搜索删除]按钮时,会提示选择“执行删除方式”,包括:直接删除 和 任务删除。直接删除是在本页立即执行数据删除操作,而任务删除是指建立一个删除任务的计划,当时间达到[呼叫中心高级管理]->[批次任务管理]页面中的"执行时间"时,才执行删除数据的操作。 | + | Deleting customer data:On [Campaign]->[Customers]. First we should choose "Customer", and then click the button named [Delete All By Conditions],it will throw a tips "Delete Type",including:Direct Delete and Shell Delete. As the name suggests, "Direct Delete" means delete directly on this page right now, while "Shell Delete" represents delete the customer data when the system scanning the "shell delete jobs" per minute. |
| - | {{:zh:实际案例指导:根据搜索删除01.png?700|}} | + | {{:en:real_case_guidance:delete_all_by_conditions.png?700|}} |
| - | ====取消直接删除操作==== | ||
| - | 当选择直接删除时,要想取消正在删除数据操作,需要在服务器上执行如下命令: | + | ====Terminate the operation of "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> | ||
| - | ====取消任务删除操作==== | + | ====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". | ||