Hi all
I need a function to update database at 12 o'clock midnight
Thanks
Joe
			
			
									
									
						Update at 12.AM MIDNIGHT
Re: Update at 12.AM MIDNIGHT
What should we name it?
UpdateDatabaseAt12OclockMidnight() ?
			
			
									
									UpdateDatabaseAt12OclockMidnight() ?
 The eXpress train is coming - and it has more cars.
						Re: Update at 12.AM MIDNIGHT
Here's the code:
			
			
									
									Code: Select all
FUNCTION UpdateDatabaseAt12OclockMidnight()
  MakeUpdateDatabaseAt12OclockMidnight()
RETURN .T.Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
						Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: Update at 12.AM MIDNIGHT
unixkd wrote:I need a function to update database at 12 o'clock midnight
Code: Select all
PROCEDURE BackUp() 
LOCAL oThread := Thread():new() 
   oThread:setStartTime(60*60*24-1) 
   oThread:start( DoBackUp() )
greetings by OHR
Jimmy
						Jimmy



