forked from keyianpai/hft
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
abfe9a8
commit dac497f
Showing
5 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
Submodule lib-hft
updated
from a4b94b to d1ec25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
30 03 * * 2-6 /home/nick/future/rsync.sh | ||
30 07 * * 2-6 /home/nick/future/rsync.sh | ||
|
||
40 15 * * 1-5 /home/nick/stock/rsync.sh | ||
40 17 * * 1-5 /home/nick/stock/rsync.sh | ||
|
||
12 00 * * * /home/nick/coin/rsync.sh | ||
12 04 * * * /home/nick/coin/rsync.sh | ||
12 08 * * * /home/nick/coin/rsync.sh | ||
|
||
12 08 * * * ~/zip.sh | ||
30 06 * * * ~/hft/lib-hft/tools/dt/run.sh | ||
20 00 * * * ~/zipandupdate.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#/bin/bash | ||
install -d /running/csv | ||
useradd nick | ||
cp -r future /home/nick/future | ||
cp -r coin /home/nick/coin | ||
cp -r stock /home/nick/stock | ||
cp zipandupdate.sh ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
ntpdate ntp1.aliyun.com > /dev/null 2>&1; /sbin/hwclock -w | ||
|
||
cd /running/csv | ||
find . -name "*.csv" | xargs gzip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
rsync -avz -e "ssh -i /root/.ssh/ali_key -p 18301" -r [email protected]:~/quant/tools/read/read_data/ /running/csv/ |