New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

WebPanel Glitched, Root Cron Jobs Deleted Wrong Entry, No Backup

Started by bruman, December 29, 2020, 04:22:58 PM

Previous topic - Next topic

bruman

In my CWP7 admin panel > Server Settings > Crontab for root

I added a custom cronjob, tested it out, and then wanted to delete it so hit the "Delete" button next to it.

But my web panel glitched out! And it deleted the one right above it.  At first I thought it was my own issue, and I clicked "Delete" on the wrong cron job.

Then I attempted to delete it again... and it deleted the (other one) right above it!

Frustrated I gave up with that and was able to delete it via SSH crontab.

I know initially I had 4 cron jobs set-up, and "accidentally" deleted 2.

Here are the remaining ones:

1 root /usr/local/cwp/php71/bin/php -d max_execution_time=18000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_all_domains.php
(50) (20) (*) (*) (*)

2 root /usr/local/cwp/php71/bin/php -d max_execution_time=18000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/alertandautorenewssl.php
Daily (at midnight)


I did not add any cron jobs manually, so the 4 should be default.

Can someone please reference their own, or tell me which ones were deleted so that I can restore them?

Thank you!

bruman

I think I got it.. looking at the cron logs and some googling

15 0 * * * /usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php

The other one I believe was 38 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh/cwp_certs" > /dev/null I recreated that one by using the install-cronjob command on .acme.sh