-
-
Notifications
You must be signed in to change notification settings - Fork 363
Open
Labels
enhancementThis issue/PR relates to a feature request.This issue/PR relates to a feature request.
Description
Hi
After searching quickly in the issues, I see no mention of checking cron job, hence this feature request.
Here's my use case : I'm testing Ansible Roles via Molecule and Testinfra. Which include ansible tasks like
---
- name: Add cron job for certbot renewal (if configured).
cron:
name: Certbot automatic renewal.
job: "{{ certbot_script }} renew {{ certbot_auto_renew_options }}"
minute: "{{ certbot_auto_renew_minute }}"
hour: "{{ certbot_auto_renew_hour }}"
user: "{{ certbot_auto_renew_user }}"
So I'ld like to check there's a job at the given hh:mm:ss for the given user and command.
Thanks again for this wonderful testinfra tool & best regards,
m3nu, karcaw, jrm780, edmondkong, lachhebo and 11 more
Metadata
Metadata
Assignees
Labels
enhancementThis issue/PR relates to a feature request.This issue/PR relates to a feature request.