Module backend.chrome_controller.chrome_reset
Retrieve pending scrapers from the database and terminate specific processes if running for more than 30 minutes.
This function fetches pending scrapers from the database and checks for specific processes running for over 30 minutes to terminate them.
Args
None
Returns
list- A list of pending scrapers retrieved from the database.
Functions
def get_classifier_pending()-
Retrieve pending sources from the database.
This function loads the database configuration, connects to the database, and fetches pending sources based on specific criteria.
Args
None
Returns
list- A list of pending scrapers fetched from the database.
def get_scrapers_pending()-
Retrieve pending scrapers from the database.
This function loads the database configuration, connects to the database, and fetches pending sources based on specific criteria.
Args
None
Returns
list- A list of pending scrapers fetched from the database.
def get_sources_pending()-
Retrieve pending sources from the database.
This function loads the database configuration, connects to the database, and fetches pending sources based on specific criteria.
Args
None
Returns
list- A list of pending scrapers fetched from the database.