You don't need to root your phone or install Android Studio.
Download platform-tools for your platform (Mac, Windows, Linux).
Enable "USB Debugging" on your phone then connect it via USB to your computer.
Then run the following:
class ClearFailedJobs | |
# Clear all the failed resque jobs for a specific class | |
# ==== Attributes | |
# | |
# * +klasses+ - The Ruby classes to clear as a String or Array of Strings | |
# | |
# ==== Examples | |
# ClearFailedJobs.by_class('Exports::ReportCSV') | |
# ClearFailedJobs.by_class(['Exports::ReportCSV', 'Exports::ReportPDF']) | |
def self.by_class(klasses, queue = 'failed') |
You don't need to root your phone or install Android Studio.
Download platform-tools for your platform (Mac, Windows, Linux).
Enable "USB Debugging" on your phone then connect it via USB to your computer.
Then run the following: