Reputation: 5847
TASK
I want to go through any new records inserted into the database (MySQL) and email them to a personal email address and then mark them as emailed when done. I'd like to do this via a custom written ruby/rails script that is ran via cron (or equivalent).
Q
What is the rails way (best way) to run a cronjob every night?
Upvotes: 0
Views: 63