DB on seperate server
Posted: Wed Sep 02, 2009 12:07 pm
Hi guys,
I installed vicidialnow and then moved the DB on a different server. I changed astguiclient.conf and copied the /usr/share/astguiclient/AST* scripts to the DB server.
The I created the following crontab on the DB server:
Is that all I need to consider or is a there something missing. Do I need the other crontab entries and scripts too?
Everything seems to work so far though...
Thanks,
heinz
I installed vicidialnow and then moved the DB on a different server. I changed astguiclient.conf and copied the /usr/share/astguiclient/AST* scripts to the DB server.
The I created the following crontab on the DB server:
- Code: Select all
### 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
33 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl
### 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 1 * * * /usr/share/astguiclient/AST_reset_mysql_vars.pl
### optimize the database tables within the asterisk database
3 1 * * * /usr/share/astguiclient/AST_DB_optimize.pl
## adjust time on the server with ntp
# 30 * * * * ntpdate -u ntp.myfloridacity.us 2>/dev/null 1>&2
Is that all I need to consider or is a there something missing. Do I need the other crontab entries and scripts too?
Everything seems to work so far though...
Thanks,
heinz