MAILTO=philip@trade-ideas.com,michael@trade-ideas.com # MIN HOUR DAY MONTH DAYOFWEEK COMMAND # every two hours at the top of the hour #0 */2 * * * (cd /var/www/Supporting_Scripts/;nice -19 php show_log.php;nice -19 php show_refer.php)>/dev/null # Update the refers every hour. # Now that the server is not active, this is causing more problems than it solves! #0 * * * * (cd /var/www/Supporting_Scripts/;nice -19 php show_refer.php)>/dev/null # every day at 5:05pm # (We assume that we already have new events in the general log. We can't say for sure about the refer log. # Now that the server is not active, this is causing more problems than it solves! #5 17 * * * (cd /var/www/Supporting_Scripts/;nice -19 php show_refer.php;nice -19 php show_refer.php 1;nice -19 php show_log.php 1)>/dev/null # every morning at 4am update the NYSE shortable list from the nyse web site. #0 4 * * * (cd NyseShortableList; php -q NyseShortableList.php) # Moved to bob-saget # every weekday after the live data has ended, and after the 7pm busy period for the oddsmaker. And after we think all of the normal overnight processing will be done. #30 21 * * 1-5 (cd /var/www/Supporting_Scripts/;./save_nasdaq;./save_nyse;php update_averages.php;./trim_alerts_new >/tmp/trim_alerts_new.txt;./Update_Special_Symbols) # Every hour, only on dom #0 * * * * mysql -u root -pxxx123 -h dom mydb -e "analyze table alerts" > /dev/null # Every morning at 4am #0 4 * * * cd /var/www/alldocs/stats;find ref_data web_use -ctime +30 \( -name 'Ref_*_*.gz' -o -name 'Starting_*_*.gz' \) -delete # right at the open. This is how we document it on the web site. This # is only used by the iPhone version. #30 06 * * 1-5 rsync -r --delete --times chuck-liddell:SharedDocs/GifCharts/ ~/SharedDocs/GifCharts/ #30 11 * * * cd /var/www/logs; find . -maxdepth 1 -ctime +19 -name '*_log.*0' -exec gzip -9 {} \; ; mv *_log.*gz old # Moved to bob-saget # Clear weston's exclude list every weekday at 4pm #0 16 * * 1-5 /var/www/Supporting_Scripts/ResetWeston # Moved to bob-saget # Every 2 hours check for this users positions at conifer and update his symbol lists. #5 */2 * * 1-5 cd /var/www/Supporting_Scripts/;php CNFR_Brady.php > /tmp/CNFR_Brady.php.txt # Moved to bob-saget # Every trading day 5 minutes before the market opens. #25 6 * * 1-5 cd /var/www/Supporting_Scripts ; php TheEquitiesRoom.php > /tmp/TheEquitiesRoom.php.txt