Is there any callback, that will call a method after 10min the create-method was used? Example: a picture was uploaded, create method was called, in 10 min another method should be called.
Thanks in advance
Is there any callback, that will call a method after 10min the create-method was used? Example: a picture was uploaded, create method was called, in 10 min another method should be called.
Thanks in advance
You have a few options:
Resque https://github.com/defunkt/resque
delayed_job https://github.com/collectiveidea/delayed_job
The alternatives would involve blocking your app (not an option) or looking into concurrency.