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 following: XXXX ? S 0:01 php -q /var/www/html/asterCC/cake/console/cake.php -working /root -app /var/www/html/asterCC/app asterccimport:

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:

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.

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:

 /etc/init.d/php-fpm restart 

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.

 ps ax |grep  asterccdelete 

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

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