Fix for the cron module on FreeBSD

Apparently crontab on freebsd does not like the file path coming before
the "-u username" portion of the command to install the crontab
reviewable/pr18780/r1
James Cammarata 11 years ago
parent f54b72faea
commit b4306920ce

@ -357,7 +357,7 @@ class CronTab(object):
""" """
Return the command line for writing a crontab Return the command line for writing a crontab
""" """
return "%s %s %s" % (CRONCMD, path, self._user_execute()) return "%s %s %s" % (CRONCMD, self._user_execute(), path)
def _user_execute(self): def _user_execute(self):
""" """

Loading…
Cancel
Save