summaryrefslogtreecommitdiff
path: root/Code/crontab.txt
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2020-02-06 17:37:57 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2020-02-06 17:37:57 +0800
commit97db795240795d947241ff30a8beafbd3aca93b8 (patch)
tree00d8de082d7c54f1554aa50c0204e6466f6f10d0 /Code/crontab.txt
parenta93b28f0e147ae51c06254132c22e7460ad3d70a (diff)
backup_files.py: fix misspelling
Diffstat (limited to 'Code/crontab.txt')
-rw-r--r--Code/crontab.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Code/crontab.txt b/Code/crontab.txt
new file mode 100644
index 0000000..aaabac5
--- /dev/null
+++ b/Code/crontab.txt
@@ -0,0 +1,7 @@
+1 13 * * * cd /home/lanhui/brain/Code && flock -n /tmp/brain.lockfile ./update_network.py
+1 7 * * * cd /home/lanhui/brain/Code && python3 update_network_by_force.py
+1 4 * * * cd /home/lanhui/brain/Code && python3 download_and_map.py
+
+15 6,18 * * * sudo lsof /home/lanhui/brain/Data/temp/edges.txt || sudo cp /home/lanhui/brain/Data/temp/edges.txt /var/www/brain/brain/static/edges/edges.txt
+20 6,18 * * * sudo lsof /home/lanhui/brain/Data/temp/html_edges/edges.sqlite || sudo cp /home/lanhui/brain/Data/temp/html_edges/edges.sqlite /var/www/brain/brain/static/edges
+