bug fix: cron

This commit is contained in:
Usman Nasir
2020-02-29 08:18:55 +05:00
parent cbf6ff1646
commit 690ccfb022

View File

@@ -2083,7 +2083,7 @@ vmail
0 12 * * * root /usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py Daily
0 0 * * 0 root /usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py Weekly
"""
writeToFile = open(cronPath, 'w')
writeToFile = open(cronPath, 'a')
writeToFile.write(content)
writeToFile.close()
else: