On 17 July 2015 at 13:46, Bartłomiej Matlęga
<[email protected]> wrote:
> Hello, I need to update some records (with data based on other records) in
> database everyday at for example 11 p.m. Is there a chance to automate this
> with rails?
> I'm using postgresql.

You can write a rake task to do the job, then run it daily using cron.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLv83OCOCkyDq_%2BGnZwy0CKt7TiT5ADM0m8kF0uPTkys_w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to