SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Database

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Database
Author Message
Hb



Joined: 06 May 2003
Posts: 3

Post Database Reply with quote

How can I setup my database for scheduler. Does scheduler
create certain tables or do tables have to be created manually?

Tue May 06, 2003 10:06 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7968

Post Re: Database Reply with quote

The 24x7 Scheduler does not use any external databases and does not create any tables. If you wish you can export schedulers jobs, logs and other data to an external database of your choice using Tools/Import-Export Job Database menu

: How can I setup my database for scheduler. Does scheduler
: create certain tables or do tables have to be created manually?

Tue May 06, 2003 12:28 pm View user's profile Send private message
Hb



Joined: 06 May 2003
Posts: 3

Post Re: Database Reply with quote

Thanks.

If one of my daily jobs takes in a parameter that will change
daily based on date, how will that work in this job scheduler?

: The 24x7 Scheduler does not use any external databases and does not create
: any tables. If you wish you can export schedulers jobs, logs and other
: data to an external database of your choice using Tools/Import-Export Job
: Database menu

Tue May 06, 2003 1:53 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7968

Post Re: Database Reply with quote

Check "Macro-parameters" topic in the on-line. I think there you will find answer for your question.

: Thanks.

: If one of my daily jobs takes in a parameter that will change
: daily based on date, how will that work in this job scheduler?

Tue May 06, 2003 3:42 pm View user's profile Send private message
Hb



Joined: 06 May 2003
Posts: 3

Post Re: Database Reply with quote

I would like it to be able to calculate parameters. For example, run an
sql job for data from 3 days ago, so the date passed will always be today-3.
Macro-parameters seem to pass just current information, and doesn't allow for calculating
parameters.

: Check "Macro-parameters" topic in the on-line. I think there you
: will find answer for your question.

Tue May 06, 2003 3:56 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7968

Post Re: Database Reply with quote

If you run a 24x7 SQL job (a.k.a. database job) you can do date calculation within the job SQL. 24x7 supports multiple SQL statements in a single SQL job as long as they conform to your database standard.

If you run some other job change the job type to script (either JAL or VB) and do your date calculating there, for example in a JAL job you can do the following

Dim command, string
Dim my_date, date
Dim process_id, number
Dim formated_date, string

Today my_date
DateAdd my_date, -3, my_date
Format my_date, "mm-dd-yyyy", formated_date
ConcatEx "c:\\programs\\myprogram.exe ", formated_date, command
Run command, "", process_id

Please note that if your program name or path contain spaces the entire name must be enclosed in double-quotes

: I would like it to be able to calculate parameters. For example, run an
: sql job for data from 3 days ago, so the date passed will always be today-3.
: Macro-parameters seem to pass just current information, and doesn't allow for
: calculating
: parameters.

Tue May 06, 2003 4:18 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite 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.