Skip to content

badyaxa/HEROKU-kraina-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kraina-pdf

for local development set

environment variable SPRING_PROFILES_ACTIVE=h2

for heroku

Procfile

check-and-notify-about-file-updates

  • This application checks every hour the field 'Last-Modified' in the URL header.
  • Notifies by telegram.
  • Sends an email with a link and a file PDF attached to the letter.

(to change go in application.yml)

about heroku sleep time

I remove the internal insomnia scheduler and set up the service 'http://kaffeine.herokuapp.com/' now my app sleep 6 hour from 22.00 (GMT+3)

add heroku env. variable

title TELEGRAM_BOT_URL

value https://api.telegram.org/botTOKEN/sendMessage?chat_id=CHAT_ID&text=

insert yours:

  • botTOKEN
  • CHAT_ID

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published