Changeset 775
- Timestamp:
- Jan 2, 2016, 11:35:04 AM (9 years ago)
- Location:
- bin
- Files:
-
- 8 added
- 29 deleted
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
bin/backup_svn_db.sh
r539 r775 3 3 . ./config.sh 4 4 5 BACKUP_DIR=/ a/backup/svn/work5 BACKUP_DIR=/root/backup/svn/work 6 6 7 7 echo Zaloha databaze... -
bin/config_restarter.sh
r1 r775 1 1 #!/bin/bash 2 2 while [ 1=1 ]; do 3 / a/bin/generate.sh3 /root/bin/generate.sh 4 4 sleep 5 5 5 done -
bin/generate.sh
r200 r775 1 1 #!/bin/bash 2 cd /a/www/centrala/ system/generators3 php generate.php2 cd /a/www/centrala/Modules/NetworkConfig 3 php Generate.php -
bin/import_news.sh
r539 r775 1 1 #!/bin/bash 2 cd /a/www/centrala/ aktuality2 cd /a/www/centrala/Modules/News 3 3 4 /usr/bin/php -q import_zdechov_cz_aktuality.php5 /usr/bin/php -q import_zdechov_cz_zapisy.php6 /usr/bin/php -q import_tv_beskyd.php7 /usr/bin/php -q import_kino_vatra.php8 /usr/bin/php -q import_obec_hovezi.php4 /usr/bin/php -q ImportZdechovCzNews.php 5 /usr/bin/php -q ImportZdechovCzRecords.php 6 #/usr/bin/php -q import_tv_beskyd.php 7 #/usr/bin/php -q ImportKinoVatra.php 8 /usr/bin/php -q ImportObecHovezi.php -
bin/monitor.sh
r539 r775 1 1 #!/bin/bash 2 screen -A -m -d -S monitor / a/bin/monitor2.sh2 screen -A -m -d -S monitor /root/bin/monitor2.sh 3 3 -
bin/monitor2.sh
r539 r775 4 4 #do 5 5 6 cd /a/www/ centrala/system/statistic/measure_scripts7 /usr/bin/php -q monitor.php >/ a/log/monitor.log 2>/a/log/monitor.err6 cd /a/www/statistic/measure_scripts 7 /usr/bin/php -q monitor.php >/root/log/monitor.log 2>/root/log/monitor.err 8 8 9 9 #sleep 60 -
bin/netwatch.sh
r539 r775 1 1 #!/bin/bash 2 screen -A -m -d -S netwatch / a/bin/netwatch2.sh2 screen -A -m -d -S netwatch /root/bin/netwatch2.sh 3 3 -
bin/netwatch2.sh
r539 r775 1 1 #!/bin/bash 2 cd /a/www/centrala/ system/generators2 cd /a/www/centrala/Modules/NetworkConfigRouterOS/Generators 3 3 #while [ 1=1 ]; do 4 /usr/bin/php -q netwatch_import.php>/a/log/netwatch.log 2>/a/log/netwatch.err4 /usr/bin/php -q NetwatchImport.php>/root/log/netwatch.log 2>/root/log/netwatch.err 5 5 #sleep 60 6 6 #done -
bin/start.sh
r539 r775 2 2 3 3 echo Mazu nohup... 4 rm / a/bin/nohup.out -f4 rm /root/bin/nohup.out -f 5 5 rm /root/nohup.out -f 6 6 7 7 echo Mazu logy... 8 rm / a/log/share.log -f8 rm /root/log/share.log -f 9 9 10 10 echo Loguj start... 11 date >> / a/log/boot.log11 date >> /root/log/boot.log 12 12 13 13 echo Spoustim kontrolu online pocitacu... 14 /a/bin/netwatch.sh& 14 /root/bin/netwatch.sh& 15 16 echo Spoustim kontrolu stavu signalu zarizeni... 17 /root/bin/signal.sh& 15 18 16 19 echo Spoustim mereni meteostanice... 17 / a/bin/meteo.sh&20 /root/bin/meteo.sh& 18 21 19 22 echo Spoustim zaznam statistik... 20 /a/bin/monitor.sh& 23 /root/bin/monitor.sh& 24 25 echo Centrala scheduler... 26 /root/bin/scheduler.sh& 21 27 22 28 #echo Spoustim DNS server... 23 #/ a/bin/named.sh >/a/log/named.log OC2>/a/log/named.err&29 #/root/bin/named.sh >/root/log/named.log OC2>/root/log/named.err& 24 30 25 31 echo Restartovani nastaveni... 26 / a/bin/config_restarter.sh >/a/log/config_restarter.log 2>/a/log/config_restarter.err&32 /root/bin/config_restarter.sh >/root/log/config_restarter.log 2>/root/log/config_restarter.err& 27 33 28 34 echo Refresh webkamery... 29 35 mount -t tmpfs -o size=100m tmpfs /a/www/zdechovnet/images/webcam 30 /a/bin/webcam1.sh >/a/log/webcam1.log 2>/a/log/webcam1.err& 31 /a/bin/webcam2.sh >/a/log/webcam2.log 2>/a/log/webcam2.err& 32 /a/bin/webcam3.sh >/a/log/webcam3.log 2>/a/log/webcam3.err& 33 /a/bin/webcam4.sh >/a/log/webcam4.log 2>/a/log/webcam4.err& 36 /root/bin/webcam1.sh >/root/log/webcam1.log 2>/root/log/webcam1.err& 37 /root/bin/webcam2.sh >/root/log/webcam2.log 2>/root/log/webcam2.err& 38 /root/bin/webcam3.sh >/root/log/webcam3.log 2>/root/log/webcam3.err& 39 /root/bin/webcam4.sh >/root/log/webcam4.log 2>/root/log/webcam4.err& 40 /root/bin/webcam5.sh >/root/log/webcam5.log 2>/root/log/webcam5.err& 34 41 35 42 echo Import aktualit... 36 /a/bin/import_news.sh >/a/log/import_news.log 2>/a/log/import_news.err& 43 /root/bin/import_news.sh >/root/log/import_news.log 2>/root/log/import_news.err& 44 37 45 38 46 #echo NetFlow... 39 #/ a/bin/net-flow.sh >/a/log/net-flow.log 2>/a/log/net-flow.err&47 #/root/bin/net-flow.sh >/root/log/net-flow.log 2>/root/log/net-flow.err& 40 48 41 49 #echo OpenERP server... 42 #/ a/bin/openerp-server.sh >/a/log/openerp-server.log 2>/a/log/openerp-server.err&50 #/root/bin/openerp-server.sh >/root/log/openerp-server.log 2>/root/log/openerp-server.err& 43 51 44 52 #echo OpenERP web client... 45 #/ a/bin/openerp-web.sh >/a/log/openerp-web.log 2>/a/log/openerp-web.err&53 #/root/bin/openerp-web.sh >/root/log/openerp-web.log 2>/root/log/openerp-web.err&
Note:
See TracChangeset
for help on using the changeset viewer.