Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
This page is WORK IN PROGRESS ...
...
Info | ||
---|---|---|
| ||
review required |
Adding documentation links to job titles
Links can be built into added to job titles.
These are mainly intended to be used to provide a convenient link to job documentation.
The links can be added in JOE (JobScheduler Object Editor) as shown in the screenshot below, which shows a simple HTTP link:
In JOC (JobScheduler Operations Center) this link will then look like:
...
Links can also be placed in "a" tags as shown in the following examples:
Example 1
Open JOE and type the following text in the title field of a job. (See also the screenshot to the right):
Code Block |
---|
See <a href="<nowiki>http://sourceforge.net/apps/mediawiki/jobscheduler/index.php</nowiki>">here</a> for more information and also www.sos-berlin.com.
|
...
JOC will now show the following title for the job:
"See here for more information and also www.sos-berlin.com."
Example 2 - Links to documentation within the scheduler_data
directory
JOC knows a virtual directory ./scheduler_data/jobs
which points to the jobs
directory under the working directory of the JobScheduler.
So, when a link in the job title is defined with ./jobs/my_job_descriptions/test1.html
, JOC will look for the file at the address ./scheduler_data/jobs/my_job_descriptions/test1.html
.
Example:
Code Block |
---|
<?xml version="1.0" encoding="ISO-8859-1"?>
<job title="test <a href="./scheduler_data/jobs/my_job_descriptions/test1.html">docu</a>" stop_on_error="yes" order="no">
<script language="shell"><![CDATA[
env # "Print the environment"
]]></script>
</job>
|