minor filemanager bug fix

This commit is contained in:
usmannasir
2019-02-09 14:01:43 +05:00
parent d95b847d80
commit a8c4fc8f20
8 changed files with 49 additions and 33 deletions

View File

@@ -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