Page 1 of 1

Agent is auto kick every 1:02 am

PostPosted: Thu Mar 13, 2014 3:48 pm
by myquerry1983
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

Re: Agent is auto kick every 1:02 am

PostPosted: Fri Mar 14, 2014 6:50 pm
by mflorell
Check your crontab for that time, probably an optimize process running.

Re: Agent is auto kick every 1:02 am

PostPosted: Fri Mar 14, 2014 8:03 pm
by myquerry1983
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

Re: Agent is auto kick every 1:02 am

PostPosted: Mon Mar 17, 2014 4:00 am
by DomeDan
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

Re: Agent is auto kick every 1:02 am

PostPosted: Mon Mar 17, 2014 4:01 pm
by myquerry1983
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...

Re: Agent is auto kick every 1:02 am

PostPosted: Fri Mar 21, 2014 7:08 pm
by myquerry1983
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,,,