cron module defaults to current user, not root (#71337)

pull/71342/head
Jake Howard 5 years ago committed by GitHub
parent 02ea80f6d7
commit 4792d83e13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -41,7 +41,7 @@ options:
user:
description:
- The specific user whose crontab should be modified.
- When unset, this parameter defaults to using C(root).
- When unset, this parameter defaults to the current user.
type: str
job:
description:
@ -222,7 +222,7 @@ class CronTab(object):
"""
CronTab object to write time based crontab file
user - the user of the crontab (defaults to root)
user - the user of the crontab (defaults to current user)
cron_file - a cron file under /etc/cron.d, or an absolute path
"""

Loading…
Cancel
Save