summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-system/luasrc/model/cbi/admin_system/crontab.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-mod-system/luasrc/model/cbi/admin_system/crontab.lua')
-rw-r--r--modules/luci-mod-system/luasrc/model/cbi/admin_system/crontab.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-mod-system/luasrc/model/cbi/admin_system/crontab.lua b/modules/luci-mod-system/luasrc/model/cbi/admin_system/crontab.lua
index 016a6199a..beb24e7ca 100644
--- a/modules/luci-mod-system/luasrc/model/cbi/admin_system/crontab.lua
+++ b/modules/luci-mod-system/luasrc/model/cbi/admin_system/crontab.lua
@@ -11,6 +11,7 @@ f = SimpleForm("crontab", translate("Scheduled Tasks"),
"crontab file was empty before editing."))
t = f:field(TextValue, "crons")
+f.forcewrite = true
t.rmempty = true
t.rows = 10
function t.cfgvalue()