Certbot - Centos6 Apache typo in sample cron


#1

The sample cron is:
0 0,12 * * * python -c 'import random; import time; time.sleep(random.random() * 3600)' && ./path/to/certbot-auto renew

I believe the leading period before the path should be removed. If the cron is formatted with the period it won’t launch.


#2

Hi @charlessteiner,

I created this issue to track this suggestion:

This is not a typo but rather a reference to the way that people normally interactively run certbot-auto out of their current directory, after changing to the directory where it’s located with cd. However, the ./ example isn’t especially good or relevant advice in the cron case because it makes more sense to explicitly specify an absolute path that won’t begin with ./.

Thanks for the suggestion, and feel free to track or participate in this issue on GitHub.


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.