If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Batch Jobs in MySQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-07-05, 01:45
ramcha ramcha is offline
Registered User
 
Join Date: Oct 2004
Posts: 14
Question Batch Jobs in MySQL

Dear Friends,

What is the equivalent of oracle jobs in MySQL?

I have a requirement in which the data in selected tables will be archived and moved to other tables. For this purpose I had created a stored procedure that will do the work for me.

Now the question is - how to schedule to run this stored procedure every week (say on friday night at 8 PM) automatically.

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 12-07-05, 08:33
jfulton jfulton is offline
Registered User
 
Join Date: Apr 2005
Location: Baltimore, MD
Posts: 297
I believe you need to write a cron job to call that stored procedure in batch mode. I'm pretty sure MySQL does not the capability to schedule jobs.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On