status

How to get status of job using Scheduler?

How to get status of job using Scheduler? Question: I have a scheduled job running on Scheduler library, and I would like to get its status ("Success", "Failed") from python but I can’t find documentation on how to get the status. Let’s take as an example the following code to use the scheduler : import …

Total answers: 1

Find out whether celery task exists

Find out whether celery task exists Question: Is it possible to find out whether a task with a certain task id exists? When I try to get the status, I will always get pending. >>> AsyncResult(‘…’).status ‘PENDING’ I want to know whether a given task id is a real celery task id and not a …

Total answers: 7

How to get current CPU and RAM usage in Python?

How to get current CPU and RAM usage in Python? Question: How can I get the current system status (current CPU, RAM, free disk space, etc.) in Python? Ideally, it would work for both Unix and Windows platforms. There seems to be a few possible ways of extracting that from my search: Using a library …

Total answers: 21