Commit 3777f8c6 authored by Bram Daams's avatar Bram Daams
Browse files

changed method name

parent b436b26a
......@@ -41,4 +41,4 @@ def listchecks(list_local, status_filter):
if __name__ == "__main__":
sys.exit(main('')) # pragma: no cover
......@@ -147,7 +147,7 @@ def shell(command):
# find system cron job that executes this command
job = Cron(job_id).job()
job = Cron(job_id).get_job()
except TypeError:
logging.error("Could not find matching cron job")
......@@ -587,7 +587,7 @@ class Cron():
if crontab.enabled:
def job(self):
def get_job(self):
returns the matching cron job
or None if there are no or multiple matches or
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment