This script is used to check file changes in the specified directory and notify users. The file list will be saved as a json file.
Create the config.json file as follow:
{
"usr" : "sending email",
"password": "password",
"receiver_list":[
"[email protected]",
"[email protected]",
"[email protected]"
]
}
Run python3 monitor.py --dir /volume1/share/Movies
.