usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.53k stars 592 forks source link

[BUG] Crons+DB still running for a suspended website #1097

Open jcn50 opened 1 year ago

jcn50 commented 1 year ago

Describe the bug The crons+DB of a suspended website users are still running. Killing off the crons do not change anything: they will still be fired again (later).

To Reproduce What steps did you take when the issue occurred?

  1. Create a script that fires every minute and runs for 2 minutes (<?php sleep(120);)
  2. Suspend the website
  3. Watch the script running

Expected behavior Crons+DB access should be suspended.

Operating system: CentOS 7

CyberPanel version: 2.3.4