Author Topic: Root cron jobs  (Read 1060 times)

0 Members and 1 Guest are viewing this topic.

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/"/ --cron --home "/root/" > /dev/null
Note the poor default of midnight for one. Would be better a few minutes after. ;)
Owning a camera doesn't make you a photographer; Leasing a VPS doesn't make you an IT professional. One word: Training
Shared hosting is cheap!