summaryrefslogtreecommitdiffstats
path: root/cron-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'cron-model.lua')
-rw-r--r--cron-model.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/cron-model.lua b/cron-model.lua
index f900302..65d4393 100644
--- a/cron-model.lua
+++ b/cron-model.lua
@@ -107,9 +107,6 @@ function create_job(newjob)
end
if success then
- if not posix.stat(baseurl..newjob.value.period.value) then
- posix.mkdir(baseurl..newjob.value.period.value)
- end
fs.create_file(baseurl..newjob.value.period.value.."/"..newjob.value.name.value)
else
newjob.errtxt = "Failed to create new job"