test-lua: updated with sample cron function

This commit is contained in:
vvaltman 2014-09-18 21:16:27 +04:00
parent 4965d294e2
commit 55b763c87f

View File

@ -88,6 +88,12 @@ end
function on_get_difference_end ()
end
function cron()
-- do something
postpone (cron, false, 1.0)
end
function on_binlog_replay_end ()
started = 1
postpone (cron, false, 1.0)
end