简体   繁体   中英

Ruby on Rails, ActiveRecord callback, delayed execution

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:

The alternatives would involve blocking your app (not an option) or looking into concurrency.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM