From b1447f25ff2d52b06927ab171364a8c23d117a92 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Sat, 15 Feb 2020 18:01:39 +0800 Subject: update_network_by_force.py: enable visiting the web app each time the network is updated The Apache web server will be restarted daily to free memory. sudo service apache2 restart --- Code/update_network_by_force.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/update_network_by_force.py b/Code/update_network_by_force.py index f62bc07..d6631c5 100644 --- a/Code/update_network_by_force.py +++ b/Code/update_network_by_force.py @@ -102,7 +102,7 @@ def summarize_edge_file(fname): ########## Renew saved G.pickle and SOURCE_NODES.pickle in Webapp ####################### cmd = 'curl http://118.25.96.118/brain/before' -#os.system(cmd) +os.system(cmd) ########## Merge edges ####################### # update edges.txt, a merged file from two sources, HISTORY_DIR and HISTORY_DIR2. Some new edge files are being generated ... -- cgit v1.2.1