Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I made a website exclusively for inventory and sales report and I want to update its database before or after the store has closed. How can I possibly do it? Thanks.
Posted
Comments
[no name] 5-Sep-14 9:52am    
Create a scheduled task and then run it before the store opens or after the store closes.
Doughnatch 5-Sep-14 13:16pm    
How about the database of the website?
Nathan Minier 5-Sep-14 14:08pm    
That's what he's referring to. The easiest way to update the database for an ASP.NET page on a schedule is to run a scheduled task in the DBMS.
Doughnatch 6-Sep-14 7:12am    
not actually ASP.NET but only PHP. I use SQLYog of MySQL.

1 solution

Use the following steps to update the tasks:

1. Created the Stored procedure to define the appropriate updations in database.
2. Create a job in which the defined procedures are called.
3. Define schedule of the job at what time it will execute the procedure on the backend,
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900