chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:10:28 +08:00
commit c2acfb5f2d
267 changed files with 15542 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/bin/sh
export PYTHONIOENCODING=utf-8
export LANG=zh_CN.UTF-8
export PYTHONPATH=/data/stock
export LC_CTYPE=zh_CN.UTF-8
mkdir -p /data/logs/tensorflow
DATE=`date +%Y-%m-%d:%H:%M:%S`
echo $DATE >> /data/logs/run_init.log
echo "wait 120 second , mysqldb is starting ." >> /data/logs/run_init.log
sleep 120
/usr/local/bin/python3 /data/stock/jobs/basic_job.py >> /data/logs/run_init.log
# https://stackoverflow.com/questions/27771781/how-can-i-access-docker-set-environment-variables-from-a-cron-job
# 解决环境变量输出问题。
printenv | grep -v "no_proxy" >> /etc/environment
# 第一次后台执行日数据。
nohup bash /data/stock/jobs/cron.daily/run_daily &
#防止 supervisor 重复执行
sleep 999999d