search

Home  >  Q&A  >  body text

写一个python脚本用来汇总mysql前一天的数据

比如 现在有A,B,C,D,E,F,G这些数据库
我要将里面前一天的数据提出来全部放到 X 数据库里面,
这个用python来写合适吗,该如何来做

PHP中文网PHP中文网2813 days ago530

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 10:23:26

    Of course it is suitable. It is best to write a timer in python. There are many database operation classes in python. Finally, setting the time in crond is ok

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-18 10:23:26

    This is definitely possible, the key is that your business logic must be clear.

    reply
    0
  • Cancelreply