This application relates to the field of
timer implementation technology, specifically disclosing a
timer implementation method and related products. The method includes: obtaining the task content of a task selected by the user from a preset task
library through the host'
s system timer; obtaining the
execution time and
execution cycle of the task input by the user through a
JAVA SERVLET project maintained by the host; establishing a scheduled task through the
system timer based on the task content, the task
execution time, and the task
execution cycle, wherein the scheduled task is created by the
system timer by calling the cmd command via
Java; executing the scheduled task through the
system timer to obtain the task instruction; obtaining the task instruction through the
JAVA SERVLET project, and determining the target business corresponding to the task instruction based on the task instruction and the preset task
library; and executing the function corresponding to the target business through the
JAVA SERVLET project.