Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # m h dom mon dow command
- ### 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 --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 --MP3
- ### 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
- 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 22,2 * * 0 /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug --postal-code-gmt
- ### reset several temporary-info tables in the database
- 35 8 * * * /usr/share/astguiclient/AST_reset_mysql_vars.pl
- ### optimize the database tables within the asterisk database
- 30 20 * * * /usr/share/astguiclient/AST_DB_optimize.pl
- ## adjust time on the server with ntp
- 30 * * * * /usr/local/bin/ntpdate -u pool.ntp.org 2>/dev/null 1>&2
- ### VICIDIAL agent time log weekly summary report generation
- 2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl
- ### remove old recordings more than 7 days old
- # 24 0 * * * /usr/bin/find /var/spool/asterisk/monitor -maxdepth 2 -type f -mtime +7 -print | xargs rm -f
- ### remove old vicidial logs and asterisk logs more than 2 days old
- 28 0 * * * /usr/bin/find /var/log/astguiclient -maxdepth 1 -type f -mtime +2 -print | xargs rm -f
- 29 0 * * * /usr/bin/find /var/log/asterisk -maxdepth 3 -type f -mtime +2 -print | xargs rm -f
- 30 0 * * * /usr/bin/find / -maxdepth 1 -name "screenlog.0*" -mtime +4 -print | xargs rm -f
- ### 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement