@Rex
Wow! - Your memory is way better than mine ! Have you got yourself a cape yet ? 
Thanks you so much for jogging mine.
I’ve had to rebuild a new Vera so I lost a number of things and I’m now trying to put all the pieces back
[code]luup.call_timer(“dailybackup”, 2 , “00:09:00” ,“1,2,3,4,5,6,7”, “”)
function clrTaskMsg(handle)
luup.task(“”,4,“”,tonumber(handle))
end
function dailybackup ()
local handle = luup.task(“Loading…”,1,“AutoBackup”,-1)
local error, result = luup.inet.wget(“http://192.168.1.234/cgi-bin/cmh/backup.sh” ,30)
if error ~= 0 then
luup.task(“Error loading backup!”,1,“AutoBackup”,handle)
luup.call_delay(“clrTaskMsg”,10,handle)
return false
end
local outfile = “/nas/vera_backup_” … os.date(“%Y%m%d-%H%M%S”)
local f,err = io.open(outfile,“w”)
if not f then
luup.task(err,1,“AutoBackup”,handle)
luup.call_delay(“clrTaskMsg”,10,handle)
return false
end
luup.task(“Writing file…”,1,“AutoBackup”,handle)
f:write(result)
f:close()
luup.task(“Finished.”,1,“AutoBackup”,handle)
luup.call_delay(“clrTaskMsg”,10,handle)
return true
end
[/code]
Look correct to you?