function GameSvrConnected(dwGameSvrIP)
end

function GameSvrReady(dwGameSvrIP)
end

function TaskShedule()
	--设置方案名称
	TaskName("Boss Ti�u Ho�ng Kim 19:00")
	
	--设置间隔时间，单位为分钟
	TaskInterval(1440)
	
	--设置触发次数，0表示无限次数
	TaskCountLimit(0)
	
	--设定定时期启动时间
	
	TaskTime(12, 00);
	
	--删除从前的数据
	for i = 1, getn(tb_goldboss) do
		success = ClearRecordOnShareDB("GoldBoss", tb_goldboss[i].Sid, 0, 1, 0);
		OutputMsg("X�a d?li�u qu�i v�t Ho�ng kim trong database"..tb_goldboss[i].Sid);
	end
end

function TaskContent()
	for i = 1, getn(tb_goldboss) do
		str = tb_goldboss[i].str;
		GlobalExecute(format("dw AddLocalNews([[%s]])", str));
	end
	
	GlobalExecute("dwf \\script\\missions\\boss\\callboss_incity.lua CallBossDown_Fixure()");
end