mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 13:56:01 +01:00
minor filemanager bug fix
This commit is contained in:
@@ -96,7 +96,7 @@ class S3Backups(multi.Thread):
|
||||
tempPath = '/home/cyberpanel/' + str(randint(10000, 99999))
|
||||
|
||||
writeToFile = open(tempPath, 'w')
|
||||
writeToFile.write('* * * * * /usr/local/CyberCP/bin/python2 /usr/local/CyberCP/s3Backups/s3Backups.py > /home/cyberpanel/error-logs.txt 2>&1\n')
|
||||
writeToFile.write('0 0 * * * /usr/local/CyberCP/bin/python2 /usr/local/CyberCP/s3Backups/s3Backups.py > /home/cyberpanel/error-logs.txt 2>&1\n')
|
||||
writeToFile.close()
|
||||
|
||||
command = 'sudo crontab -u cyberpanel ' + tempPath
|
||||
|
||||
Reference in New Issue
Block a user