Advertisement
Guest User

Untitled

a guest
Apr 27th, 2012
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. # m h dom mon dow command
  2. ### recording mixing/compressing/ftping scripts
  3. 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
  4. #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
  5. 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
  6. #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
  7. ### keepalive script for astguiclient processes
  8. * * * * * /usr/share/astguiclient/ADMIN_keepalive_ALL.pl
  9. ### kill Hangup script for Asterisk updaters
  10. * * * * * /usr/share/astguiclient/AST_manager_kill_hung_congested.pl
  11. ### updater for voicemail
  12. * * * * * /usr/share/astguiclient/AST_vm_update.pl
  13. ### updater for conference validator
  14. * * * * * /usr/share/astguiclient/AST_conf_update.pl
  15. ### flush queue DB table every hour for entries older than 1 hour
  16. 11 * * * * /usr/share/astguiclient/AST_flush_DBqueue.pl -q
  17. ### fix the vicidial_agent_log once every hour
  18. 33 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl
  19. ### updater for VICIDIAL hopper
  20. * * * * * /usr/share/astguiclient/AST_VDhopper.pl -q
  21. ### adjust the GMT offset for the leads in the vicidial_list table
  22. 1 22,2 * * 0 /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug --postal-code-gmt
  23. ### reset several temporary-info tables in the database
  24. 35 8 * * * /usr/share/astguiclient/AST_reset_mysql_vars.pl
  25. ### optimize the database tables within the asterisk database
  26. 30 20 * * * /usr/share/astguiclient/AST_DB_optimize.pl
  27. ## adjust time on the server with ntp
  28. 30 * * * * /usr/local/bin/ntpdate -u pool.ntp.org 2>/dev/null 1>&2
  29. ### VICIDIAL agent time log weekly summary report generation
  30. 2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl
  31. ### remove old recordings more than 7 days old
  32. # 24 0 * * * /usr/bin/find /var/spool/asterisk/monitor -maxdepth 2 -type f -mtime +7 -print | xargs rm -f
  33. ### remove old vicidial logs and asterisk logs more than 2 days old
  34. 28 0 * * * /usr/bin/find /var/log/astguiclient -maxdepth 1 -type f -mtime +2 -print | xargs rm -f
  35. 29 0 * * * /usr/bin/find /var/log/asterisk -maxdepth 3 -type f -mtime +2 -print | xargs rm -f
  36. 30 0 * * * /usr/bin/find / -maxdepth 1 -name "screenlog.0*" -mtime +4 -print | xargs rm -f
  37. ### fix the vicidial_agent_log once every hour and the full day run at night
  38. 33 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl
  39. 50 0 * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl --last-24hours
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement