MAILTO=philip@trade-ideas.com,michael@trade-ideas.com # MIN HOUR DAY MONTH DAYOFWEEK COMMAND # Every night at 11pm 0 23 * * * rsync -r --times --delete shauna:SharedDocs/LiveGifCharts/ ~/SharedDocs/GifCharts/ #@reboot /home/phil/cpp_alert_server/live_server/oddsmaker/start_oddsmaker # Microproxy was moved into /etc/rc.d/rc.local and /home/phil/cpp_alert_server/live_server/start_all #@reboot cd /home/phil/cpp_alert_server/live_server/micro_proxy; ./start @reboot cd /home/phil/cpp_alert_server/source/tikiller; ./test_data_center 54 23 * * * cd /home/phil/cpp_alert_server/live_server/stocktwits;./build_translation_now > /tmp/build_translation_now.txt @reboot cd /home/phil/cpp_alert_server/live_server/stocktwits/;./start_st_proxy # Track the size (and CPU usage) of ax_alert_server over time. 0 * * * * ( date | awk '{printf "\%s ", $0}' ; ps ux | grep './a[x]_alert_server ' | awk '{print $3, $4 }' ) >> ~/ax_alert_server.size.txt 0 * * * * ( date | awk '{printf "\%s ", $0}' ; ps ux | grep './t[i]killer-live ' | awk '{print $3, $4 }' ) >> ~/tikiller-live.size.txt 0 * * * * ( date | awk '{printf "\%s ", $0}' ; ps ux | grep './t[i]killer-price-alerts ' | awk '{print $3, $4 }' ) >> ~/tikiller-price-alerts.size.txt # Restart the chart server periodically. It seems like there might be a memory leak. 51 4 * * sun (cd /home/phil/cpp_alert_server/source/tikiller ; ./test_data_center) > /dev/null # Restart the candle server periodically. It seems like there is definately a memory leak. #12 8 * * sun (cd /home/phil/cpp_alert_server/source/tikiller ; ./test_price_alerts) > /dev/null 12 8 * * sun killall tikiller-production 0 21 * * * cd /home/phil/cpp_alert_server/live_server/tikiller/Logs; find . -maxdepth 1 -name 'log.*[0-9].PA' -atime +6 -exec gzip -9v {} \; 2>>clean.txt ; find . -maxdepth 1 -name 'log.*.gz' -exec mv --no-clobber {} old \;