usmannasir / cyberpanel

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

traditional backup cronjob: if removed, cyberpanel will not add anymore #372

Closed franciscopaniskaseker closed 3 years ago

franciscopaniskaseker commented 4 years ago

The cronjob

0 3 * * * root /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/backupScheduleLocal.py

if removed (for any reason) and you try to schedule a new backup, cyberpanel will not guarantee if the cronjob is there. It can hide from user the correctly backup configuration. No backups will be created without the cronjob.

meramsey commented 3 years ago

This has been fixed for awhile pretty sure by this https://github.com/usmannasir/cyberpanel/blob/stable/plogical/upgrade.py#L2357-L2411