A
A
Alexander Petrov2016-04-17 20:28:10
Ruby on Rails
Alexander Petrov, 2016-04-17 20:28:10

How to set up cron on ruby ​​on rails?

I have ispmanger on my server. I need to set up cron. I understand how to do with php. And if you need to run a script on RoR?
Let's say I need to work out the code located at the link: site.ru/run_code. How to be?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Demidenko, 2016-04-17
@Mirkom63

Gem whenever will help you.

Y
Yuri Izotov, 2016-04-18
@railsfun

I’ll add 5 kopecks - in order to better understand what whenever does and the work of crontab in general, I recommend the crontab.guru
service. It explains cron syntax in human language)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question