mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 05:45:59 +01:00
add cron restart on ubuntu
This commit is contained in:
@@ -1609,6 +1609,9 @@ class WebsiteManager:
|
||||
command = 'chmod 600 %s' % (cronPath)
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
command = 'systemctl restart cron'
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
CronUtil.CronPrem(0)
|
||||
|
||||
if output.find("1,") > -1:
|
||||
|
||||
Reference in New Issue
Block a user