Skip to content

peepa857/wechat-fund

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wechat-fund

Real time view of funds information

environment

  • python 3.9.1

  • pip 20.2.3

create WxPusher APP

WxPusher 微信信息推送服务

set params

  • appToken: get the token after created a WxPusher APP (line: 58)

  • topicIds: get topicId after created a topic of APP (line: 62)

install dependencies

  • pip install requests

run command

  • py fund.py send message to wechat

screen shot

image

image

scheduled job

macOS/Linux: cron の使い方(python スクリプト)

  1. create shell start.sh
#!/bin/bash
source /etc/profile
python3 {FULL PATH}/wechat-fund/fund.py
  1. crontab
  • edit crontab

    crontab -e

  • paste, replace path and save (run at working day 14:40)

    40 14 * * 1-5 {FULL PATH}/start.sh >> {FULL PATH}/Desktop/crontab_log.txt

  • confirm results

    crontab -l

my fund APP QRcode

wechat

image

plan B

send fund information by LineBot

image

image

About

Real time view of funds information

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages