Question
How to make sure that the Cron task for renewing Let's Encrypt certificates is present?
Answer
1. Navigate to Plesk > Tools and Settings > Scheduled Tasks
2. By default there should be the following task with similar content which is responsible for renewing Lets Encrypt certificates:
/opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/sslit/scripts/keep-secured.php'
For Let's Encrypt before 2.5.0 version
- Connect to the server via SSH;
- Refer to the output of the following command:
# crontab -l | grep renew
7 21 * * * /usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/letsencrypt/scripts/renew.php'