Unable to add cron job

As I add the following line

echo “0 0,12 * * * root python -c ‘import random; import time; time.sleep(random.random() * 3600)’ && certbot renew” | sudo tee -a /etc/crontab > /dev/null

in “crontab -e”, I get the following error upon the save

"/tmp/crontab.mXNEv7":2: bad minute
errors in crontab file, can’t install.
Do you want to retry the same edit?

What should I do?

That’s a fancy Unicode quotation mark – did it get converted by the forum software, or was that what your echo command really used?


Yes I got it. Thank you very much.

1 Like

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