diff --git a/class/core/crontab_api.py b/class/core/crontab_api.py index 535ff6014..e10012829 100755 --- a/class/core/crontab_api.py +++ b/class/core/crontab_api.py @@ -493,6 +493,9 @@ echo "-------------------------------------------------------------------------- file = '/var/spool/cron/root' if mw.isAppleSystem(): file = '/etc/crontab' + + if not os.path.exists(file): + return False else: file = u_file conf = mw.readFile(file)