Files
https-nginx/add-cron-for-certs.sh
2022-05-01 20:50:31 +03:00

4 lines
131 B
Bash

#!/bin/bash
crontab -l | { cat; echo "0 0 * * 0 expr `date +\%W` \% 2 > /dev/null || /nordcod-nginx/cron-certs.sh"; } | crontab -