Increase reminder posts to 15
This commit is contained in:
2
Rakefile
2
Rakefile
@@ -94,7 +94,7 @@ namespace :blog do
|
|||||||
require "que"
|
require "que"
|
||||||
|
|
||||||
command = Adamantium::GentlyRemindMe.new
|
command = Adamantium::GentlyRemindMe.new
|
||||||
command.call(limit: 5)
|
command.call(limit: 15)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@ module Adamantium
|
|||||||
|
|
||||||
body_content = ""
|
body_content = ""
|
||||||
bookmarks_struct.each do |bm|
|
bookmarks_struct.each do |bm|
|
||||||
body_content += "#{bm[:name]} — #{bm[:source_url]} \n"
|
body_content += "🔗 #{bm[:name]} — #{bm[:source_url]} \n"
|
||||||
body_content += " #{bm[:url]}\n"
|
body_content += " #{bm[:url]}\n"
|
||||||
body_content += "\n"
|
body_content += "\n"
|
||||||
end
|
end
|
||||||
@@ -34,7 +34,7 @@ module Adamantium
|
|||||||
Mail.delivery_method.settings[:password] = app_settings.smtp_password
|
Mail.delivery_method.settings[:password] = app_settings.smtp_password
|
||||||
|
|
||||||
mail = Mail.new do
|
mail = Mail.new do
|
||||||
subject "A gentle reminder"
|
subject "A gentle reminder of some things to read 🌿"
|
||||||
body body_content
|
body body_content
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user