Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: raysolomon on July 14, 2020, 04:55:24 PM
-
Today I accidentally deleted my root cron jobs with crontab -r instead of crontab -e
I didn't backup all the system configs yet.
Will somebody please be kind enough to list their root cron commands with timings?
I had backup, autossl and a few others.
I'm using the latest version on CentOS 7.8
-
crontab -l
49 22 * * * /usr/local/cwp/php71/bin/php -d max_execution_time=18000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_all_domains.php
0 0 * * * /usr/local/cwp/php71/bin/php -d max_execution_time=18000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/alertandautorenewssl.php
19 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh/cwp_certs" > /dev/null
Note the poor default of midnight for one. Would be better a few minutes after. ;)