SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
DB Tools - Problem in DB Job Expert

 
Reply to topic    SoftTree Technologies Forum Index » DB Audit, DB Mail, DB Tools View previous topic
View next topic
DB Tools - Problem in DB Job Expert
Author Message
Peter Wagner



Joined: 03 Mar 2006
Posts: 11

Post DB Tools - Problem in DB Job Expert Reply with quote

Hi,

I found an annoying thing using the DB job expert. While creating
a job I choosed the option "Repeat weekly on the following days of week:", checking
"Mon", because I want to run the job every monday. After creating the job I looked at
the intervall of the job (using the view dba_jobs). The intervall says:
"trunc(next_day(SYSDATE, 'DIENSTAG')) + 1/86400*900" ('DIENSTAG' = 'TUESDAY' ;-) ), so the
job wil be executed every tuesday (at 00:15 am), not at monday as I wanted.
Looks like a bug.

Tue Aug 29, 2006 3:15 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6484

Post Re: DB Tools - Problem in DB Job Expert Reply with quote

Yes, this looks like a bug, it doesn't take into account first day of week.

In other words, the issue here is the first day of week. In North America the first day is Sunday, in Europe it is Monday. In order to build the required expression for job frequency, DB Job internally converts checked days into day names using their hard-coded day numbers. That's is why in your case "Mon" becomes DIENSTAG. If you click "Sun" box you are going to get name for Monday as it is in German.

: Hi,

: I found an annoying thing using the DB job expert. While creating
: a job I choosed the option "Repeat weekly on the following days of
: week:", checking
: "Mon", because I want to run the job every monday. After creating
: the job I looked at
: the intervall of the job (using the view dba_jobs). The intervall says:
: "trunc(next_day(SYSDATE, 'DIENSTAG')) + 1/86400*900" ('DIENSTAG'
: = 'TUESDAY' ;-) ), so the
: job wil be executed every tuesday (at 00:15 am), not at monday as I wanted.
: Looks like a bug.

Tue Aug 29, 2006 11:51 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » DB Audit, DB Mail, DB Tools All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.