Skip to content

Simple script to launch in cron to get free book of the day from packtpub

Notifications You must be signed in to change notification settings

mfrancka/claim-free-book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goal:

Check what a book is available for flee claim on packtpub.

Config

If you want to send notifications by email you need to have your email account used as a sender.

export MAIL_USERNAME=address@email.pl
export MAIL_SMTP_HOST=email.pl
export MAIL_PASSWORD=password
export MAIL_ADDRESS=email_set_as_from_in_email
export RECIPIENTS=email1,email2,email3

python free.py

You can also make .env file with variables above and put it where your script launch

MAIL_USERNAME=address@email.pl
MAIL_SMTP_HOST=email.pl
MAIL_PASSWORD=password
MAIL_ADDRESS=email_set_as_from_in_email
RECIPIENTS=email1,email2,email3

About

Simple script to launch in cron to get free book of the day from packtpub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published