[英]How to schedule a job on specific date in rails using sidekiq
notify = @employee_listing.end_publish_date - 3.days
ExpireReminderEmployeeListingWorker.perform_async(notify.to_s, @employee_listing.id)
I want to run this worker on this date我想在这个日期运行这个工人
notify = @employee_listing.end_publish_date - 3.days
You can use您可以使用
perform_at(notify, @employee_listing.id)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.