|
@@ -49,5 +49,5 @@ autoupdater_util.randomseed()
|
|
|
|
|
|
-- Perform updates at a random time between 04:00 and 05:00
|
|
|
local f = io.open('/lib/gluon/cron/autoupdater', 'w')
|
|
|
-f:write(string.format('%i 4 * * * /usr/sbin/autoupdater\n', math.random(0, 59)))
|
|
|
+f:write(string.format('%i 4 * * * /lib/gluon/autoupdater/autoupdate\n', math.random(0, 59)))
|
|
|
f:close()
|