Author Topic: Duplicate CWP root CRONs  (Read 1800 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Duplicate CWP root CRONs
« on: December 27, 2021, 04:25:01 PM »
Hi

I did a fresh install of CWP a few months ago and I have turned most of the options on. I am now configuring the crons to be quiet, but I noticed that there were some duplicate crons. I also did a fresh install of CWP on a test server about a week ago and this only has 2 crons in it.

Can someone tell me
  • What the default crons on a new install should be with everything turned on?
  • When CWP updates itself can it add cronjobs in and not remove old ones?
  • Which Crons should I remove?

List of crons on my live machine

you can see the duplicate entries for cron_autossl_all_domains.php however running at different times.
Code: [Select]
56 17 * * * /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
33 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh/cwp_certs" > /dev/null
00 01 * * * /usr/local/cwp/php71/bin/php /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_all_domains.php

A newly installed CWP

Code: [Select]
22 16 * * * /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

Thanks for any help