luci-mod-admin-full: add advice to restart cron
[project/luci.git] / modules / luci-mod-admin-full / luasrc / model / cbi / admin_system / crontab.lua
index ea92eb9..016a619 100644 (file)
@@ -5,7 +5,10 @@
 local fs = require "nixio.fs"
 local cronfile = "/etc/crontabs/root" 
 
-f = SimpleForm("crontab", translate("Scheduled Tasks"), translate("This is the system crontab in which scheduled tasks can be defined."))
+f = SimpleForm("crontab", translate("Scheduled Tasks"),
+       translate("This is the system crontab in which scheduled tasks can be defined.") ..
+       translate("<br/>Note: you need to manually restart the cron service if the " ..
+               "crontab file was empty before editing."))
 
 t = f:field(TextValue, "crons")
 t.rmempty = true