I have a problem for updating ESA modules (Anti-Spam and Sophos Anti-Virus) that is scheduled update in GUI, but when i run "updatenow force" and "talosupdate force" in CLI, all modules become fully update. Is there any way for scheduling above commands in CLI mode?
Balaji is correct in writing an SSH script to execute the commands; you can do it in batch if you need to - however my concerns would be why are you looking to force update routinely?
Unless there are continuing network issues that forces the ESA to fall behind on several updates and inturn causes the 'most recent package' and causing the service to pause; that would be the main circumstance to run these commands.
Otherwise your ESA should (unless configured differently) reach out every 5 minutes to grab the latest definition/rules updates; which you can validate inside the updater_logs if needed.
A force update basically makes it redownload all available engines/packages from scratch.