test-lua: updated with sample cron function