Home > database > How to realize the timing to perform a piece of code?
How to realize the timing to perform a piece of code?
Time:09-21
I will regularly update query the database a few pieces of the data in the table, keep pace with the main library, but the content is processed, how to implement, such as every 00:00 PM execution derivative according to the code! Please grant instruction! Thank you, online etc.!
CodePudding user response:
Use the timer () open the timer, executes the timer events. Want to do something regularly, the code is written in the timer event
CodePudding user response:
Within the prescribed time to trigger an event Idle (60) \ \ if 60 seconds no operations will trigger the application object of idle event The timer (60) \ \ every 60 seconds timer events trigger a window
CodePudding user response:
Fixed to a specific some Suggestions for a few minutes, or choose database operations to achieve better
SQL SERVER called homework ORALCE called JOB The same meaning
CodePudding user response:
PB is written on the time the timer events
The database Write in SQL SERVER work ORALCE called JOB
The operating system The WINDOW to write in the project task UNIX write in crontab