SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
global variables

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



Joined: 01 Apr 2015
Posts: 2
Country: India

Post global variables Reply with quote
Hi

We run our jobs from scheduler using shell scripts rsh <<hostname>> shell_script.
We have one shell scripts to run a single job and we have several jobs in a job group. we would like to pass a parameter value from one job to another . Is there any option to set a global parameter in a job group.How do we read this value in our shell script. Please advise
Wed Apr 01, 2015 5:51 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6485

Post Reply with quote
From which scheduler?
Wed Apr 01, 2015 9:29 am View user's profile Send private message
lsanthan



Joined: 01 Apr 2015
Posts: 2
Country: India

Post Reply with quote
we are using 24X7 scheduler. can we have any global variables in 24X7 scheduler. how do we pass parameters between multiple jobs
Wed Apr 01, 2015 10:42 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6485

Post Reply with quote
Ssript based JAL jobs support file cache based persistent global variables.

For all other job types you can use system environment variables. That is trivial. If for whatever reason, you don't want to use environment variables, you can read/write to persistent storage like files or database to have values retained between system restarts. For example, writing a value to a database table requires just one line of code in a JavaScript job, same goes for reading a value, and you can do there pretty much everything you can do with a shell script type job.
Thu Apr 02, 2015 10:05 am 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.