A few things to change before Deploying
- file path,
msg_list.txt
andscan.jpg
's location Idealy thescan.jpg
can be accessed through a web server or you can just use rsync/ftp to retrive it from server. running_on_server
variable
This script is tested only on
Ubuntu 18.04.3 LTS 64bit
With
Python 3.6.8
And the service is located either in China or America due to the lack of timezone compatibility cus I'm too lazy
- Modularize & Clean up the Codes
- Add
quiet
option, supresses stdout/stderr, and redirect them into a logfile - Add Options
-L --msg_list <path>
-Q --save_qrcode_to <path>
-D --daemon
... and many more - Add auto timezone compatibility, so that the script can be deployed anywhere
- Create a Cron-like schedule parser which looks like
* * * 1 2 3 to_user msg
- Send Image and File