Agent is auto kick every 1:02 am

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Agent is auto kick every 1:02 am

Postby myquerry1983 » Thu Mar 13, 2014 3:48 pm

HI all,

I have problem the agent is atomatic kick or log out from the server every 1:02 am,this is happening every day how to fix this, Please help me,thanks


| Vicidial 2.6-397a Build 130414-1924 | Asterisk 1.4.39.1-vici.go | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Dell PowerEdge2
myquerry1983
 
Posts: 38
Joined: Tue Jun 18, 2013 8:07 am

Re: Agent is auto kick every 1:02 am

Postby mflorell » Fri Mar 14, 2014 6:50 pm

Check your crontab for that time, probably an optimize process running.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Agent is auto kick every 1:02 am

Postby myquerry1983 » Fri Mar 14, 2014 8:03 pm

mflorell wrote:Check your crontab for that time, probably an optimize process running.




i run crontab -e a lot of details appear, below are my crontab -e

### recording mixing/compressing/ftping scripts
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl --MIX
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_VDonly.pl
1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3
#2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --GSM

### keepalive script for astguiclient processes
* * * * * /usr/share/astguiclient/ADMIN_keepalive_ALL.pl

### kill Hangup script for Asterisk updaters
* * * * * /usr/share/astguiclient/AST_manager_kill_hung_congested.pl

### updater for voicemail
* * * * * /usr/share/astguiclient/AST_vm_update.pl

### updater for conference validator
* * * * * /usr/share/astguiclient/AST_conf_update.pl

### flush queue DB table every hour for entries older than 1 hour
11 * * * * /usr/share/astguiclient/AST_flush_DBqueue.pl -q

### fix the vicidial_agent_log once every hour and the full day run at night
33 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl
50 0 * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl --last-24hours
## uncomment below if using QueueMetrics
#*/5 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl --only-qm-live-call-check

## uncomment below if using Vtiger
1 1 * * * /usr/share/astguiclient/Vtiger_optimize_all_tables.pl --quiet

### updater for VICIDIAL hopper
* * * * * /usr/share/astguiclient/AST_VDhopper.pl -q

### adjust the GMT offset for the leads in the vicidial_list table
1 1 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug

### reset several temporary-info tables in the database
2 4 * * * /usr/share/astguiclient/AST_reset_mysql_vars.pl

### optimize the database tables within the asterisk database
3 4 * * * /usr/share/astguiclient/AST_DB_optimize.pl


| Vicidial 2.6-397a Build 130414-1924 | Asterisk 1.4.39.1-vici.go | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Dell PowerEdge2
myquerry1983
 
Posts: 38
Joined: Tue Jun 18, 2013 8:07 am

Re: Agent is auto kick every 1:02 am

Postby DomeDan » Mon Mar 17, 2014 4:00 am

it gotta be this line:

1 1 * * * /usr/share/astguiclient/Vtiger_optimize_all_tables.pl --quiet

if you are using vtiger then you should schedule it to a time when there is no activity on the server.

if you are NOT using vtiger then you can comment out that line, just put a # in the beginning of the line


this line
1 1 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug
runs at the same time, you should schedule that to a time when there is no activity on the server too
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: Agent is auto kick every 1:02 am

Postby myquerry1983 » Mon Mar 17, 2014 4:01 pm

DomeDan wrote:it gotta be this line:

1 1 * * * /usr/share/astguiclient/Vtiger_optimize_all_tables.pl --quiet

if you are using vtiger then you should schedule it to a time when there is no activity on the server.

if you are NOT using vtiger then you can comment out that line, just put a # in the beginning of the line


this line
1 1 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug
runs at the same time, you should schedule that to a time when there is no activity on the server too



Ok ill try that option..thanka a lot...
myquerry1983
 
Posts: 38
Joined: Tue Jun 18, 2013 8:07 am

Re: Agent is auto kick every 1:02 am

Postby myquerry1983 » Fri Mar 21, 2014 7:08 pm

myquerry1983 wrote:
DomeDan wrote:it gotta be this line:

1 1 * * * /usr/share/astguiclient/Vtiger_optimize_all_tables.pl --quiet

if you are using vtiger then you should schedule it to a time when there is no activity on the server.

if you are NOT using vtiger then you can comment out that line, just put a # in the beginning of the line


this line
1 1 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug
runs at the same time, you should schedule that to a time when there is no activity on the server too



Ok ill try that option..thanka a lot...



It helps..thanks a lot,,,
myquerry1983
 
Posts: 38
Joined: Tue Jun 18, 2013 8:07 am


Return to General Discussion

Who is online

Users browsing this forum: jamiemurray and 27 guests