473,598 Members | 2,916 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HELP: dbms.job - scheduling job at exact time

Please, has anyone an idea about planning job in axact time ? I mean
we need to run job in every minute starting at 00 sec. This job takes
about 2 secs and call another stored procedure.

I wrote this pl/sql block:

declare
l_job number;
begin
dbms_job.submit ( l_job,
'test_proc;',
sysdate,
'sysdate+1/1440' );
commit;
end;

Everything is fine except of submit time. I have no idea about telling
Oracle to run this job every minute at 00 sec.

Thanks
Jul 19 '05 #1
2 16105
mv******@cz.sol uziona.com (Milan) wrote in message news:<20******* *************** ****@posting.go ogle.com>...
Please, has anyone an idea about planning job in axact time ? I mean
we need to run job in every minute starting at 00 sec. This job takes
about 2 secs and call another stored procedure.

I wrote this pl/sql block:

declare
l_job number;
begin
dbms_job.submit ( l_job,
'test_proc;',
sysdate,
'sysdate+1/1440' );


sysdate + 60/86400 will restart at 60 second intervals. (86400 is
total number of seconds in 24 hours)
Regards
/Rauf Sarwar
Jul 19 '05 #2
Hi Rauf,

Here is a page with lot's of dbms_job scheduling examples:

http://www.praetoriate.com/oracle_tips_dbms_jobs.htm
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
6048
by: Mike | last post by:
Normally scheduling a job is a very elementary operation but for some hidden reason I've been unable to schedule a job which runs on a 28 day cycle, even though I have at least 16 other jobs seperately scheduled to run on a 28 day cycle with different start dates/times. My production SQL server is running SQL Server Enterprise Edition 8.00.760(SP3) on a 2 Processor(4 virtual) Microsoft
2
619
by: Trevor.D.Matthews | last post by:
I need to develop a scheduling app and am having trouble with the database design. I can easily design a table hold appointments with start and finish times, but I always have an issue when it comes time to searching for free time. The search examples: Find the first available appointment in September
3
301
by: lisa[nospam].xxx | last post by:
Hello! I need help to organize the working time spent by each employee on projects. I thought this wuold be a rather simple probelm, but i realized it is not!! I have many projects going on, starting at different dates, and each employee can work on 0/N projects, for # months. I built three tables: Projects, Employees, Manmonths. Projects: (K) project_id, acronym, start_date, end_date, .... Employee: (K) empl_Id, full_name, .......
3
2885
by: Muscha | last post by:
Hi, In our application we need to have a high performance scheduling framework. We want to be able to say for item 21 do an update on such and such time. We will have around 1 million items of this kind with different scheduling time, so not all will be updated per hour. Some will be per hour some will be once every 2 weeks. Does anyone has any suggestion how to tackle this problem? Oh and one of the requirement is that we are not...
3
578
by: Alphonse Giambrone | last post by:
Can anyone point me toward a good example of an asp.net scheduling app? Preferrably in vb.net. TIA -- Alphonse Giambrone Email: a-giam at customdatasolutions dot us
1
1796
by: Majed | last post by:
hi I'm planing to make scheduling app and need your advice on the best way to do that,and how to save the tasks to be executed and retrive their data at the right time. your input will be highly appreciated Majed
3
2704
by: news.bahnhofbredband.se | last post by:
Some time ago I was working with DB2/400 - and one of the most appreciated features was the concept logical files - a bit more than views in that they maintained an access path. That is it maintained an index of the records in the physical table(s) depending on specified view selection criteria - including order of records. Some time ago I was about to create an Oracle based application and the Oracle person in the project maintained...
2
180
by: Milan | last post by:
Please, has anyone an idea about planning job in axact time ? I mean we need to run job in every minute starting at 00 sec. This job takes about 2 secs and call another stored procedure. I wrote this pl/sql block: declare l_job number; begin dbms_job.submit( l_job,
8
3044
AmberJain
by: AmberJain | last post by:
Hello, My new semester has started and I have a subject named DBMS (Database Management System). This is the first time I'm studying databases and so I'm not feeling very enthusiastic about databases (partly because I already had learnt C/C++ and I feel that programming is a lot easier that DBMS). Nevertheless, I must learn at least one DBMS as it is part of my college course. I'm confused and I want some suggestions: Que-1: There are a...
0
7981
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8284
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8046
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
5847
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5437
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3894
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3938
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2410
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1500
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.