I have one model called Message.
User can send messages along with 2 more images.
I need to take a pdf of each message and store it in amazon s3 for daily basses.
I need to show that .pdf (one message) file for admin to download that pdf.
I am using wicked_pdf gem to generate pdf and whenever gem for cron task.
I can generate pdf file in browser by “generate_pdf” action.
I dont know how to get pdf and store that amazon using cron.