Author Topic: Root cron jobs  (Read 2604 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Root cron jobs
« 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

Re: Root cron jobs
« Reply #1 on: July 14, 2020, 05:46:52 PM »
Code: [Select]
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. ;)