Reputation: 665
I have rails app deployed over multiple instances and had too many rake tasks to run over different instances so it is hard to manage which rake tasks is already run or which one remaining.
is there any way to manage it from db side, as schema_migrations
table managed by migrations. if yes then, i want know how migrations exactly works?.
any suggestions?.
Upvotes: 0
Views: 203
Reputation: 381
You can use Progress Bar gem to monitor the progress of a particular rake task.
And according to the above suggestion, automated deployment through capistrano is a good option. You can manage the rake tasks running sequence in the cap script.
Upvotes: 0
Reputation: 482
You can use resque-scheduler(https://github.com/resque/resque-scheduler) to manage and track your tasks .
Upvotes: 0
Reputation: 4563
Upvotes: 2