This is an old revision of the document!


How to terminate the mission

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.

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].

When the import job was be finished,we can find the status of task in [Call Center]→[Shell Jobs] is “Import”,as following:

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:

If we need end the “Importing” task now,at first,we should execute the command on server,as following:

 ps ax | grep asterccimport 
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:

说明脚本正在执行导入任务,使用:sudo kill id(任务的进程号,数字),例如:kill 9285。执行完后,在[呼叫中心高级管理]→[批次任务管理]中查看到的状态为“导入出错”,如下图:

此时,点击[删除]按钮,将此导入计划任务删除掉即可。

删除数据

删除客户数据:在[外呼营销]→[客户管理],先选择哪个任务下的客户数据,然后点击[根据搜索删除]按钮时,会提示选择“执行删除方式”,包括:直接删除 和 任务删除。直接删除是在本页立即执行数据删除操作,而任务删除是指建立一个删除任务的计划,当时间达到[呼叫中心高级管理]→[批次任务管理]页面中的“执行时间”时,才执行删除数据的操作。

取消直接删除操作

当选择直接删除时,要想取消正在删除数据操作,需要在服务器上执行如下命令:

 /etc/init.d/php-fpm restart 

取消任务删除操作

取消未进行任务删除操作

取消”未执行“的数据删除操作,只需点击[呼叫中心高级管理]→[批次任务管理],找到要取消的数据删除任务计划,点击[删除]按钮即可。

取消执行中的删除任务操作

终止正在执行删除任务,需要在服务器上先执行如下命令:

 ps ax |grep  asterccdelete 
可以看到类似这样的数据:数字 ? 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.1430905307.txt.gz · Last modified: (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki