Hello. I am new to Linux.
I have issued a certificate. The command line tells me that in order to renew the certificate, I must execute the renewal certificate. I also have a script that copies certificates.
How do I add certificate renewal and execution of my script to the task scheduler?
Like this ? Some examples:
0 0 0 ? * * * certbot certonly post-hook /opt//script.sh
or
0 0 0 ? * * *certbot certonly && /opt//script.sh
or
0 0 0 ? * * *certbot certonly post-hook /opt//script.sh
or
0 0 0 ? * * *certbot certonly post-hook && /opt//script.sh