This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

======How to terminate the mission====== <note important>When we dial out using the phone number in customer packages,the operation of importing or deleting customer data will cause the astercc slowing down.So we should terminate the operation ongoing. </note> =====Inserting data===== Open [Campaign]->[Campaigns],click [Import],and then select the file to import,team and table you want to import。At last,"select when to import" and click [Import]. {{:en:real_case_guidance:import_customer_data01.png?700|}} {{:en:real_case_guidance:import_customer_data02.png?700|}} When the import job was be finished,we can find the status of task in [Call Center]->[Shell Jobs] is "Import",as following: {{:en:real_case_guidance:import_status01.png?700|}} ====Terminate the operation of "Import"==== How to stop the "Import" operating ? We just click the [Delete] in [Call Center]->[Shell Jobs]->[Import Jobs]. ====Terminate the operation of "Importing"==== When the database time is match the "Executed At",the job will be start importing,we also find the status is "Importing" in [Call Center]->[Shell Jobs]->[Import Jobs],as following: {{:en:real_case_guidance:import_status02.png?700|}} 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 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|}} 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: {{: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. {{:en:real_case_guidance:delete_all_by_conditions.png?700|}} ====Terminate the operation of "Direct Delete"==== If you choose "Direct Delete",当选择直接删除时,要想取消正在删除数据操作,需要在服务器上执行如下命令: <code> /etc/init.d/php-fpm restart </code> ====Terminate the operation of "Shell Delete"==== ===取消未进行任务删除操作=== 取消”未执行“的数据删除操作,只需点击[呼叫中心高级管理]->[批次任务管理],找到要取消的数据删除任务计划,点击[删除]按钮即可。 ===取消执行中的删除任务操作=== 终止正在执行删除任务,需要在服务器上先执行如下命令: <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(任务的进程号,数字)即可结束删除。

en/real_case_guidance/how_to_terminate_the_mission.1430910113.txt.gz · Last modified: 2017/12/12 03:11 (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki