• No results found

Skybot Scheduler User Guide

N/A
N/A
Protected

Academic year: 2021

Share "Skybot Scheduler User Guide"

Copied!
433
0
0

Loading.... (view fulltext now)

Full text

(1)

1

-Skybot Scheduler

User Guide

(2)

Copyright

Copyright

Copyright © HelpSystems, LLC. All rights reserved. Skybot is a division of HelpSystems.

www.helpsystems.com U.S.: +1 952-746-4786

Outside the U.S.: +44 (0) 870 120 3148

Technical Support email: [email protected]

Skybot Scheduler and Robot SCHEDULE are trademarks or registered trademarks of HelpSystems, LLC in the United States and other countries.

Windows, the Windows logo, Windows Vista, Windows Server, SQL Server, and Internet Explorer are registered trade-marks of Microsoft Corporation in the United States and/or other countries.

IBM, AS/400, OS/400, System i, System i5, i5/OS, Power Systems, iSeries, AIX, and PowerLinux are trademarks or reg-istered trademarks of International Business Machines Corporation in the United States and/or other countries. UNIX is a registered trademark of The Open Group.

Linux is a registered trademark of Linus Torvalds.

Macintosh, Mac, and the Apple logo are trademarks of Apple Inc., registered in the U.S. and other countries. HP and HP-UX are registered trademarks of the Hewlett-Packard Development Company, L.P.

Oracle, the Oracle logo, and Java are registered trademarks of Oracle and/or its affiliates. Red Hat is a registered trademark of Red Hat, Inc.

SUSE is a registered trademark of SUSE LLC in the United States and other countries. Ubuntu is a registered trademark of Canonical Ltd.

SAP NetWeaver and ABAP are trademarks or registered trademarks of SAP AG in Germany and in several other coun-tries.

Informatica, PowerCenter, and Informatica Cloud are registered trademarks of Informatica Corporation.

Adobe, Acrobat, and Reader are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.

All other product and company names are trademarks of their respective holders. For third-party conditions and dis-claimers, see the Release Notes in the product directory.

(3)

About this Help

Skybot Scheduler User Guide 3

-About this Help

This user guide is for operators who set up and manage the job schedule on your enterprise and system administrators who manage users, security, and access to your network.

This user guide is meant to be used as a reference while you work. Therefore, it is organized so the help topics match the options in the product. The topics within each chapter basically follow the order of the Skybot Scheduler product. The

descriptions provide detailed information on valid values, the function of each field, and any additional information that can help you when using Skybot Scheduler.

Additional Support

If you don't find the answers you need in this user guide, trySkybot Technical Supporton our website. There you can find many support options including LiveChat,online Support topics and videos,Training & Events, and phone numbers tocontact Technical Support.

(4)

About Skybot Scheduler

About Skybot Scheduler

Skybot Scheduler is a web-based user interface that lets you build and manage an event-driven schedule across all your systems for enterprise scheduling, coordinated batch processing, and cross-system monitoring. Skybot Scheduler works across all your servers to:

Monitor essential services and daemons Schedule batch jobs

Monitor file arrival and directory creation or modification Coordinate event-driven scheduling across different platforms Capture output from agent systems for troubleshooting Control the user and working directory on the server Provide reporting for today’s stringent regulations Notify you for Service Level Agreements

Automate your custom scripts

Skybot Scheduler gives you complete access and control of your job scheduling functions and options. Setting up jobs couldn't be easier. You select the job type, enter the times it should run, then select the days of the week or month it should run. That's all there is to it.

(5)

Skybot Scheduler Home Page

Skybot Scheduler User Guide 5

-Skybot Scheduler Home Page

The Skybot Scheduler Home page helps you get started with the product and provides a quick status of the product, a brief job history, and actions that are required by the operator. You also can quickly access theDashboardfrom this page.

Getting Started

The Getting Started section guides you through a few important steps for setting up Skybot Scheduler.

Option Description

Enter License Skybot Scheduler requires a validlicense code(primary or trial) for full functionality. This section lets you know right away if your license code is valid and provides a link to enter a new code.

Install and License Agents You must install our agent software to run jobs and manage processes on your agent systems (connected servers). An Agent is the service that runs on your agent systems and connects to Skybot Scheduler on your Enterprise Server. You must have at least one agent system configured to run jobs. This section lets you know how many agents you have configured and provides links todownloadingagent software and viewing

configured agents. Configure Email

Noti-fication

You can configure Skybot Scheduler to notify you through email of important job sta-tuses, agent events, or other system events. To use this feature, you must configure Skybot Scheduler so it can connect to your email server. This section lets you know if an email server is configured and provides a link toconfigureyour email server. Configure Users Each user who accesses the system should have an individual user profile allowing

their actions are distinctly audited. Also, at least one user should be configured to be notified of system events.This section provides a link to the page where you canadd or edit users.

Define Jobs Jobs are the basic unit of work in Skybot Scheduler. Jobs contain commands, envi-ronment variables, scheduling options, and other important information related to

(6)

Skybot Scheduler Home Page

scheduling and executing the task you want to perform. This section lets you know how many jobs you have defined and provides links tocreatinga new job, orviewing

existing jobs. Hiding the Getting Started

Section

Click Hide Getting Started to hide this section. It will remain hidden each time you visit the page until you click Show Getting Started at the top of the page.

Current Status

The Current Status section displays the status of key Skybot Scheduler areas.

Option Description

Job Scheduler This lets you know if the job scheduler is running. If it is running or starting, the back-ground is green. If it's stopped or failed, the backback-ground is red.

If the job scheduler has been down for some time, when it's restarted, the job sched-uler will have a starting status until all missed jobs have been managed.

Job Queues This lets you know if there are locked job queues. If there are, the background is red. If not, the background is green.

SNMP Monitoring This lets you know if SNMP Monitoring is on. If it is, the background is green. If not, the background is red.

Auditing This lets you know if Auditing is on. If it is, the background is green. If not, the back-ground is red.

History Purge This lets you know the status of history purging on your system. On: All history purges are enabled (green background)

x Disabled: Where x is any number of purges that are disabled (yellow back-ground)

Off: All history purges are disabled (red background) Standby Server This lets you know the status of your standby server.

Active: You have configured your HA environment and your standby server is connected and replicating the master server's database (green background). Inactive: You have configured your HA environment, but your standby server is not connected (red background).

Not Configured: You have not configured your HA environment (yellow back-ground)

Note: The underlined statuses are links to the page where you can change that status. For example, if the Job Sched-uler status is "Stopped," you can click the status to go to the page where you can restart the Job SchedSched-uler.

(7)

Skybot Scheduler Home Page

Skybot Scheduler User Guide 7

-The Job Activity Summary section summarizes job activity over the last 6, 12, 24, or 48 hours.

Activity Description

Initiated How many jobs were initiated during the selected time range. Queued How many jobs are waiting in the job queue.

Running How many jobs are currently running.

Completed How many jobs completed during the selected time range. Failed How many jobs failed during the selected time range.

Canceled How many jobs were canceled during the selected time range. Error How many jobs resulted in error during the selected time range. Skipped How many jobs were skipped during the selected time range. You can change the time range by clicking the hours (6h, 12h, 24h, 48h).

Action Required

The Action Required section shows recent events or schedule irregularities that need your attention. Select an option from the left to see related information.

Option Description

Pending Messages View recent system messages and provides a link to theSystem Messagespage. Missed Jobs View recent jobs that did not run because the server was not running and provides a

(8)

Skybot Scheduler Home Page

link to theManage Missed Jobspage

Held Agent Job Queues View currently held agent job queues and provides a link to theAgentspage. Offline Agents View agents that are currently offline, the status for why it's offline, and a link to the

Agentspage.

Today's Failed Jobs View jobs that have failed today, the reson why they failed, and a link to theJob His-torypage with only today's failed jobs listed.

Today's Skipped Jobs View jobs that were skipped today, the reason why they were skipped, and a link to the

Job Historypage with only today's skipped jobs listed.

Unlicensed Agents View connected agent systems that do not have points allocated and provides a link to theAgentspage.

(9)

Profile Settings

Skybot Scheduler User Guide 9

-Profile Settings

Use the My Profile Settings page to select your default language, change your password, or view a summary of your pro-file.

Preferences

Click Edit to change your preferences.

Language: Select the language for Skybot Scheduler to use.

Show dates on history pages: Unchecking this option will hide dates that match the date filters on the history screens.

Password

Click Edit to set a new password for the profile you are logged in as. Old password: Enter your existing password.

New password: Enter a new password.

Confirm new password: Re-enter your new password.

Summary

The Summary section provides a brief summary of your account. Click Save to save your new language and password changes.

(10)

Filtering Columns

Filtering Columns

Some columns can be filtered by unique values of your choosing. To filter in this way, click the drop-down list in the desired column and point to Filters. Type the prefix you want to filter by.

When typing unique characters for this filter, there are two wildcards that can be used: "%" (percent) - This is a wildcard for one or more characters of any value. "_" (underscore) - This is a wildcard for one character of any value.

Note: If you do not want the character to be treated as a wildcard, it must be prefixed with "\\" (see image below).

For example, if you want to find objects prefixed by "my_value" :

Using a filter value of "my_value" will consider the underscore a wildcard. Using a filter value of "my\\_value" will force an exact prefix match of "my_value".

(11)

Product Security

Skybot Scheduler User Guide 11

-Product Security

Skybot Scheduler’s role-based security ensures that your users have access to only the parts of the product they need to perform their jobs. It also makes management of user privileges easier for your system administrators, because they can change privileges for a large group of users on one page.

Skybot Scheduler provides a virtually limitless combination of security options. You could segregate jobs by department, division, geographic location, or customer. Managed service providers, cloud computing applications, and large organ-izations can all benefit from Skybot Scheduler’s role-based security. For example, one role could have the ability to access Job History and Audit History, but not be able to manage missed jobs, create new jobs, or create Return Codes. Another role could create new jobs, but not have access to modify any job on the system. You can even manage it down to a lower level, by giving a role access to only specific jobs, agent event monitors, or agents. You could even have a role that is excluded from everything in the product except the ability to view one job.

In addition to ensuring that only authorized users have access to the correct jobs and objects, Skybot Scheduler also pro-tects you from outside threats. All conversations across your network are encrypted using Transport Layer Security (TLS).

(12)

Creating Jobs

Creating Jobs

Use the Job settings page to create new and edit existing jobs.

Note: You must have at least one agent configured to schedule a basic job. If you want to use other scheduling options, such asshared agent environments,return codes,calendars,date lists,Skybot variables, orshared command sets, you must configure those before you set up your job.

The Job settings page uses the following sections to define your job:

General Job Settings

Use the General section to set basic job information. Agents, agent groups, and non-standard (fiscal) calendars must be defined before you create a job that uses them.

Name: Provide a unique name for your job. Do not use spaces.

Note: If you have Robot SCHEDULE running on a server where you also have an IBM i agent installed, and you're using submit-delay processing in Robot SCHEDULE, be sure the job name you enter here will not be captured by a submit-delay model job in Robot SCHEDULE.

Description: Provide a useful description for your job.

Agent/Group: Select whether you want the job to run on a specific agent or on an agent group. Then, select the name from the drop-down list.

Priority: Type or select an agent queue priority for this job. Number 1 is the highest priority. For example, if two jobs are submitted to an agent queue at the same time, the job with a priority of 25 will run before the job with a priority of 99.

(13)

Creating Jobs

Skybot Scheduler User Guide 13

-the server time zone.

Tags: Enter a Tag or tags for this job.

Scheduling the Job

Use the Schedule section to schedule run times for the job.

Select the type of schedule you want to use for this job. The type of schedule you select determines the other options you can set in this section of the Job settings page.

See detailed descriptions of each scheduling type

This example shows you how to create a basic Day of Week job schedule. Select Day of Week from the drop-down list, then click Add Schedule.

Schedule a job that runs every day at 5:00 a.m. Click OK to save the schedule.

You can add multiple schedules for a job. This example shows a second schedule that runs the same job every Wed-nesday at 9:00 p.m.

Click Add Schedule.

(14)

Creating Jobs

Click OK to save the schedule. Each scheduled time is now visible (highlighted in blue) and easy to edit or delete. This job now runs every day at 5:00 a.m. and every Wednesday at 9:00 p.m.

Once you have established a schedule type and times to run, use the Schedule Exceptions section if you want the job to run outside of the normal schedule.

(15)

Creating Jobs

Skybot Scheduler User Guide 15

-Run Time Range Allowed: Set the time range (From and To) during which this job can run. If the job attempts to run outside of this range, it will be skipped.

Non-Working Days: Use this option when you use a scheduling option where you do not know what day of the week a job will run. For example, the Day of Period option lets you run a job on the first day of the month. But, if the first day is a Saturday, use the Non-Working Days option to tell Skybot Scheduler what to do. You can:

Run the job on all days it's scheduled, regardless of it if it lands on a non-working day.

Run the job only on working days. If the job is scheduled to run on a non-working day, it will be skipped. Run the job on the preceding working day. This option runs the job on the last working day before it's schedule to run.

Run the job on the following working day. This option runs the job on the first working day after it's sched-uled to run.

Omit Date Lists: Click the drop-down list to select aDate Listfor a list of dates that the job will not run on.

Setting an Agent Environment

Use the Agent Environment section to select the environment type. You can use a shared environment (Shared Agent Environment or IBM i Agent Environment—both of which are defined under Objects), or you can set up a private envi-ronment that only this job uses (Username and Password, Run as Agent's User, or 'setuid'). You also enter the other nec-essary information; what you need to enter will vary depending on which environment type you selected.

Note: The type of agent environment you select in this section must match the type of agent you selected in the General section above. For example, You won't be able to save this job if you selected a Windows agent and an IBM i agent envi-ronment.

See detailed information about setting agent environments.

For this example, we'll use a Shared Agent Environment. The username, working path, and variables (if any exist) pop-ulate automatically once you select an environment from the Agent Environment drop-down list.

(16)

Creating Jobs

Adding Commands to a Job

Use the Commands section to set up commands, return codes (doesn't apply to IBM i commands), and fail actions for the job.

For all agents except the IBM i, you can: Use a shared command set.

Manually enter commands (private command set).

Use one of the Skybot Scheduler command builders (private command set). For IBM i agents, you can:

Use a shared IBM i command set.

Manually enter IBM i commands (private IBM i command set).

Note: To use a shared command set or a shared IBM i command set, you must have one set up before creating a job. If you use either type of shared command set, you will not be able to move or change the commands in the set from this page. SeeCommand SetsorIBM i Command Setsfor help on creating new command sets or editing existing ones. If you're using a private command set or a private IBM i command set, you can create a new command by copying an existing one. This is extremely useful for complex commands. See step 4 below.

(17)

Creating Jobs

Skybot Scheduler User Guide 17

-4. To copy an existing command, right-click it and select Copy. Then, click the new command to make any necessary changes to it.

For this example, we'll set up manual commands for just this job.See detailed information about each of the available Command options.

1. Click Add and select Command.

2. Enter the command or script in the Command column. Notes:

Theexitsystem command should be used with caution on Windows. Whenexitis used in a command, it immediately ends the current process before Skybot Scheduler is finished evaluating the results. Using the parameter/bcan help.

The Windowstimeoutcommand should be avoided when writing commands in Skybot Scheduler. It will prevent the job from completing. Thetimeoutcommand waits for user input (even if the'/NOBREAK'

option is used) and this interferes with Skybot Scheduler determining when a command has completed. If you're adding a call to vlaunch.exe, consider using theWindows Desktop Application Command window

instead of manually adding it here. The advantage is that the Windows Desktop Application Command win-dow automatically builds the correct syntax for doing the call. However, if you must add it here, use the fol-lowing syntax:

windows path\vlaunch.exe" "command.exe parm1 parm2 parm3

This passes the command string, including all parameters, to the Skybot Agent Transponder for execution, and continues with the next job command without waiting for the results.

windows path\vlaunch.exe" /W "command.exe parm1 parm2 parm3

This stops and waits for the command to execute via the Skybot Agent Transponder, and gets a return code from the command that can be tested.

If your Skybot Scheduler license is bundled with SEQUEL, and you're adding commands for an IBM i agent, click the list icon to see which commands are available to add.

(18)

Creating Jobs

3. Click the value in theReturn Codecolumn, then click the pencil ) next to the value to open the Select Return Code window. You can enable and select a shared return code, or create an individual return code for this com-mand. (Return codes don't apply to IBM i commands.)

Clickherefor return code guidelines.

4. Click the value in the Fail Action column, then click the pencil ) next to the value to open the Select Failed Action window. Select an item from the When command fails list. You can choose: Fail Job (the job will end and show a status of Failed), Continue to next Command (this command will fail, but the job will continue to run with the next command), Retry command before Failing Job, and Retry command before continuing to next Command. If you select either of the "retry" choices, you must enter the Number of Retries and the time to Wait Between Retries in seconds.

Click Save when you're finished.

Note: If a job has an IBM i command that doesn't pass validation on the IBM i agent, the command retry settings are ignored (Fail Job/ Continue to next Command settings are still used). The job log will contain messages about the invalid parameter, but no retries will be attempted. An example of an IBM i command that would fail to validate is:SNDMSG MSG(string will not validate) TOUSR(myuser). It contains an unquoted string with a space in it.

(19)

Creating Jobs

Skybot Scheduler User Guide 19

-File Transfer Jobs Informatica Cloud Tasks Informatica Workflows

Oracle Concurrent Request Jobs SAP NetWeaver Events

SAP NetWeaver Jobs

SAP NetWeaver Process Chains SAP NetWeaver Variants SQL Server Jobs

Web Service Request Jobs Windows Desktop Application Jobs

Handling Missed Run Times

Use the Missed Run Time Options section to set the action to perform when missed run times occur for the job. Click the drop-down list to select an action.

Note: The missed run time option does not apply to jobs using the Run Intercepted Job schedule option. You can select from the following options:

Manually manage all missed run times. Run all missed run times.

Ignore all missed run times.

Choosing this option may result in the job appearing as Canceled in the Job History. This will occur only if the job has already been queued at the missed run time. If the job has not been queued, no record of the job will appear in the Job History.

Mark all missed run times as Failed. Mark all missed run times as Completed.

Run the first missed run time, manually manage others. Run the first missed run time, Ignore others.

Choosing this option may result in the job appearing as Canceled in the Job History. This will occur only if the job has already been queued at the missed run time. If the job has not been queued, no record of the job will appear in the Job History.

Run the first missed run time, mark others as Failed. Run the first missed run time, mark others as Completed.

Logging Options

Use the Logging section to save the job log to your server.

Managing Job History Purging

Use the Job History Purge section to define purging for the job's history. You can use defaults set by the product or define purge settings specifically for one job.

Use Defaults: Select this option if you want to use the system defaults for purging job logs for this job. The defaults are defined in the Job History section ofSystem Settings.

Purge: Select this option if you want to define purge settings specifically for the job. Runs to Keep: Set the default number of runs to keep for the job.

(20)

General Job Settings

General Job Settings

Use the General section to set basic job information. Agents, agent groups, and non-standard (fiscal) calendars must be defined before you create a job that uses them.

Name: Provide a unique name for your job. Do not use spaces.

Note: If you have Robot SCHEDULE running on a server where you also have an IBM i agent installed, and you're using submit-delay processing in Robot SCHEDULE, be sure the job name you enter here will not be captured by a submit-delay model job in Robot SCHEDULE.

Description: Provide a useful description for your job.

Agent/Group: Select whether you want the job to run on a specific agent or on an agent group. Then, select the name from the drop-down list.

Priority: Type or select an agent queue priority for this job. Number 1 is the highest priority. For example, if two jobs are submitted to an agent queue at the same time, the job with a priority of 25 will run before the job with a priority of 99.

Calendar: Select a calendar to use with the job.

Note: To select a non-standard calendar, you must set it up before you create the job. SeeCalendarsfor help on creating calendars.

Time Zone: This option lets you schedule the job according to the time zone of either the agent or the server. The time zone affects all time calculations related to this job, includingschedule exceptionsandspecial instances. Note: If you selected a Preferred Agent or Utilization Balanced agent group (above), you'll only be able to select the server time zone.

(21)

Job Scheduling

Skybot Scheduler User Guide 21

-Job Scheduling

Following are descriptions of the schedule types you can select when working with jobs, job suites, and forecasts.

Unscheduled Job

Unscheduled Job scheduling lets you create a job and run manually or inreactionto another job or event on your enter-prise. Unscheduled Job should be used when the job does not run at specific times or days. Unscheduled jobs can be initiated by a user with the Run Job Now option. They can also be initiated with reactivity as soon as prerequisites are met.

Day of the Week

Day of Week scheduling lets you specify a specific day of the week to run a job. You can set how often the job repeats (Daily or Weekly), and what time to run the job.

After selecting Day of Week as the type, click Add Schedule to create a time for this job to run.

When you select Daily, the job will run every day at the time you set in the At field. For example, a job set to run at 0:00 runs every day at midnight.

When you select Weekly, the job will run on the week of the month that you specify (first, second, third, fourth, fifth, last). You also can specify which day(s) of that week the job should run. Using weekly you can also schedule the job like it was a daily job.

Click OK to save the schedule. You can add multiple Day of Week run times for each job.

Date List

Date List scheduling lets you specify dates that a job should run.

Select a Date List from the Add Date List drop-down list. You can select multiple date lists.

Click Add Run Time to specify what times the job should run on each day in the Date List.

Day of Period

Day of Period scheduling lets you schedule jobs that will routinely run on the given days relative to the start or end of a specific period. You can set how many days after the period starts or before a period ends, set the type of period (month, quarter, half-year, year), and the time of day to run the job.

Count: When calculating the run time for a job, only count the selected type of days. You can select from all days, working days, or non-working days. For example, 5 days after the start of a period could be different if you are not counting non-working days. Working/Non-working days are determined by the Calendar assigned to the job. Click Add Schedule to create times for this job to run.

(22)

Job Scheduling

Run on day: Select the number of days you want to count from the beginning or before the end of a period. If you select 1 days, the job will run on the first or last day, depending on your Counting days setting.

Of the: Set the type of period (month, quarter, semester, year).

Counting days: Select if you want to count from the beginning of the period or from the end of the period. For exam-ple, if you know you need a job to always run a week after the start of a period, you would enter 7 in the Run set-ting and "after the start" in the Run on day setset-ting.

At: Set the time of day to run the job.

Click OK to save the schedule. You can add multiple schedules for each job by clicking Add Schedule.

Timed Interval

Timed Interval scheduling lets you schedule jobs that will routinely run and will be automatically rescheduled to run again in a specific time interval.

Run Every: Enter the interval number (hours or minutes). Select hours or minutes from the second drop-down list. Run on Non-Working days: Check this option if you want the job to run on a non-working day.

On Save: Click this option to cause the first instance of the new job to be scheduled approximately one minute from the time the job is initially saved. Subsequent maintenance of the job continues running using the previously submitted time to calculate the next runtime. Changing the base date/time during maintenance will cause the job to re-schedule at the new base date/time instead of staying on the current interval schedule.

Base Date: Set a date for this job to start running. Base Time: Set a time for this job to start running.

(23)

Job Scheduling

Skybot Scheduler User Guide 23

-Add Run Time Range: Click -Add Run Time Range if you want to add a time range for the job to run. Click the Run drop-down list and select one of the following.

Daily: Select this option to set a time range that the job can run in every day.

Weekly: Select this option to run the job during the time range you select and on the week of the month that you specify (first, second, third, fourth, fifth, last). You also can specify which days of that week the job should run.

Nightly: Select this option to run the job during an overnight time range. The From time must be greater than the until time. For example, From 23:00 until 3:00 would be 11:00 p.m. to 3:00 a.m. the next day. Overnight: Select this option to run the job during the overnight time range you select and on the week of the month that you specify (first, second, third, fourth, fifth, last). You also can specify which days of that week the job should run.

Daily Interval

Daily Interval scheduling lets you run a job with a set number of days between each run.

Count: When calculating the run time for a job, only count the selected type of days. You can select from all days, working days, or non-working days. For example, 5 days after the start of a period could be different if you are not counting non-working days.

Run every: Set the number of days between run times.

Start run date: Set the date of the first job run. This date should equal or be greater than today. Run time: Set the time each day this job is supposed to run.

(24)

Job Scheduling

Start run date: Set the date of the first job run. This date should equal or be greater than today.

React only during Day of Week range

The Day of Week Range option lets you narrow the job time to a time range for every day that you want to run the job. React all day: Check this option if you want the job to be reactive during the entire day. You also can select a time range.

Every: Choose which week of the month the job will be reactive. You can select from Every Week, First Week, Sec-ond Week, Third Week, Fourth Week, Fifth Week, or Last Week. You also can specify which days of that week the job should be reactive.

React only during Date List range

The Date List Range option lets you add a time range to jobs that run on a specified Date List. More than one Date List can be selected. On days specified in the Date Lists, the job runs at every runtime specified.

(25)

Job Scheduling

Skybot Scheduler User Guide 25

-Day of Period Range scheduling lets you add a time range to jobs that will routinely run on the given days relative to the start or end of a specific period.

Count: When calculating the run time for a job, only count the selected type of days. You can select from all days, working days, or non-working days. For example, 5 days after the start of a period could be different if you are not counting non-working days.

React all day: Check this option if you want the job to be reactive during the entire day. You also can select a time range.

Run on day: Select the number of days you want to count from the beginning or before the end of a period. If you select 1 days, the job will run on the first or last day, depending on your Counting days setting.

Of the: Set the type of period (month, quarter, semester, year). You also can select a time range.

Run Intercepted Job

The Run Intercepted Job option lets you automatically scan a defined SAP system for intercepted jobs and run them as a Skybot Scheduler job. You can create Run Intercepted jobs from scratch or by using theIntercepted Job Historypage. Note: You must have at least one agent or agent group configured to schedule a basic job (you cannot define a 'run intercepted job' to the All Agents group). Also, the Poll Intercepted Jobs option must be selected in the SAP NetWeaver

system definition. If you want to use other scheduling options, such as tags, shared agent environments, return codes, calendars, date lists, Skybot variables, or shared command sets, you must configure those before you set up your job. This option is not available for scheduling job suites.

Run Time Range Allowed: Set the time range (From and To) during which intercepted jobs that meet the criteria may run immediately. If the intercepted job attempts to run outside of this range, it will be delayed until the next time the From time occurs.

For example, if a run intercepted job has a time range of 17:00–05:00, and an intercepted job matching that criteria is detected at 06:00, it will be delayed until 17:00 that same day.

Restricted Days: Restricted days indicate what days that this time range applies to. Having them all checked, or none checked has the same results (the time range applies to all days).

(26)

Job Scheduling

Intercept Criteria: Select a system definition to be used with this intercept job, and define the combination of job name, job owner, and client this job will scan for in the intercepted job history An asterisk (*) can be used as a wild-card.

Cron Expression

Use the Cron Expression schedule type to create UNIX-type Cron Expressions. Clickherefor more information on set-ting up a Cron Expression type job.

The following options are available for each scheduling type: Option Description

Skip if running Check this box so if the previous submission of the job is still active (running, on the queue, or checking conditions), it skips the next submission of the job. If the job is assigned to an agent group, the job will be skipped only on the agents where it is active.

Generate history when skipping

Check this box so if thejob is skipped for any reason, Skybot Scheduler keeps a rec-ord of the instance.

Hold on Failure Check this box so if the previous submission of the job run fails, it holds the job. This lets you diagnose the problem and release the job when you are ready, instead of hav-ing the scheduler continue to submit a job that repeatedly fails. If the job is assigned to an agent group, the job will be held only for the agents where it has failed.

(27)

Adding Exceptions to the Normal Schedule

Skybot Scheduler User Guide 27

-Adding Exceptions to the Normal Schedule

Use the Schedule Exceptions section to create exceptions to the job's regular schedule. For example, you can schedule a job to run every Monday and Wednesday, then use a Date List to tell the job not to run on certain dates such as holi-days. The job runs on every Monday and Wednesday—except those specified in the Date List. For those exceptions, you can also specify if the job should run on the preceding working day, on the following working day, or not run at all.

Run Time Range Allowed: Set the time range (From and To) during which this job can run. If the job attempts to run outside of this range, it will be skipped.

Non-Working Days: Use this option when you use a scheduling option where you do not know what day of the week a job will run. For example, the Day of Period option lets you run a job on the first day of the month. But, if the first day is a Saturday, use the Non-Working Days option to tell Skybot Scheduler what to do. You can:

Run the job on all days it's scheduled, regardless of it if it lands on a non-working day.

Run the job only on working days. If the job is scheduled to run on a non-working day, it will be skipped. Run the job on the preceding working day. This option runs the job on the last working day before it's schedule to run.

Run the job on the following working day. This option runs the job on the first working day after it's sched-uled to run.

(28)

Agent Environment

Agent Environment

Use the Agent Environment section to assign the environment type and working path, and to add environment variables for your job. You can use a shared environment (Shared Agent Environment or IBM i Agent Environment—both of which are defined under Objects), or you can set up a private environment that only this job uses (Username and Password, Run as Agent's User, or 'setuid').

The following environment types are available: Environment Type Description Shared Agent

Envi-ronment

Select this option to use an agent environment that you created under the Objects menu. SeeManaging Agent Environmentsfor help creating new agent environments. The Username, Working Path, and Environment Variables fill in automatically. You can overwrite the Working Path and Environment Variables fields to create an agent envi-ronment that merges settings from the object (underObjects) with custom settings for this job. This does not change the original object.

User Name and Password Select this option to enter a valid username and password for the agent, and a working path.

Run as Agent's User Select this option to run jobs as the agent's user, without specifying the user name and password. You must still enter a working path.

Note: Agents running jobs with this agent environment must have "Allow Jobs to Run as Agent's User" turned on under General Agent Settings.

'setuid' (UNIX Agents only) Select this option to run jobs as a user on the UNIX agent.

Note: This environment type is secured by running the script allownopwd.sh on your UNIX agent. For more detailed instructions, seeInstalling Agents on UNIX, Linux, and Mac Systemsunder the SupportSelf-Servicetab on our website.

IBM i Agent Environment Select this option to use an IBM i agent environment that you created under the Objects menu. SeeManaging IBM i Agent Environmentsfor help creating new IBM i agent environments. Enter a job name only if you want to override the job name on the IBM i.

Note: For detailed information on running a Skybot IBM i agent, seeInstalling or Updat-ing Skybot Scheduler Agents on the IBM iunder the SupportSelf-Servicetab on our website.

Adding Environment Variables (optional)

Select Add Variable to add an environment variable or select a variable to edit it. Enter the name and value of the envi-ronment variable.

Notes:

For Windows. UNIX, and Linux users, add this environment variable to an agent, "SKYBOT_CONFIG_JOBIN-FO=true", to have all jobs that run on that agent include the following Skybot job information environment var-iables:

SKYBOT_JOB_RUN_ID

SKYBOT_SUITE_RUN_ID (job suite member jobs only) SKYBOT_JOB_NAME

(29)

Agent Environment

Skybot Scheduler User Guide 29

-When a Skybot Scheduler job is started with the clean environment (su -), environment variables from the agent's shell are not passed into the process.

If your FTP server only accepts active transfers, create the following environment variable and use it when you create the file transfer job: "set SKYBOT_FTP_LOCAL_MODE=active".

If your FTP server is configured to use preferred authentications, create the following environment variable and use it when you create the file transfer job: "SKYBOT_SFTP_PREFERRED_AUTH".

(30)

Handling Missed Run Times

Handling Missed Run Times

Use the Missed Run Time Options section to set the action to perform when missed run times occur for the job. Click the drop-down list to select an action.

Note: The missed run time option does not apply to jobs using the Run Intercepted Job schedule option. You can select from the following options:

Manually manage all missed run times. Run all missed run times.

Ignore all missed run times.

Choosing this option may result in the job appearing as Canceled in the Job History. This will occur only if the job has already been queued at the missed run time. If the job has not been queued, no record of the job will appear in the Job History.

Mark all missed run times as Failed. Mark all missed run times as Completed.

Run the first missed run time, manually manage others. Run the first missed run time, Ignore others.

Choosing this option may result in the job appearing as Canceled in the Job History. This will occur only if the job has already been queued at the missed run time. If the job has not been queued, no record of the job will appear in the Job History.

Run the first missed run time, mark others as Failed. Run the first missed run time, mark others as Completed.

(31)

Cron Expression Overview

Skybot Scheduler User Guide 31

-Cron Expression Overview

A Cron expression is a string of fields separated by white space that represents a set of times, used to schedule tasks. The Cron Expression schedule type lets you create jobs on your UNIX, Linux, and Windows servers with cron-type scheduling.

Notes:

This does not create a Cron job.

Since not all versions of Cron work the same, we make no guarantees that this schedule type will work with your system.

Daylight Saving Time considerations: In the spring, on the night when the system clock is moved ahead from 2:00 AM to 3:00 AM, any job scheduled with a Cron expression to run between 2:00 AM and 2:59 AM will not run. In the fall, on the night when the system clock is moved back from 2:00 AM to 1:00 AM, any job scheduled with a Cron expression to run between 1:00 AM and 2:00 AM will not run twice. It will run at the designated time after the change back to Standard Time.

Field Name Allowed Values Allowed Special Characters

Minute 0-59 , - * /

Hour 0-23 , - * /

Day of Month 1-31 , - * ? / L W

Month 1-12 or JAN-DEC , - * /

Weekday 1-6 or MON-SAT; 0,7 or SUN , - * ? / L # Year (optional) empty, 1970-100 years from now , - * /

Skybot Scheduler Job Setup Screen

(32)

Cron Expression Overview

The '?' character is allowed for the day of month and weekday fields. It is used to specify 'no specific value.' This is useful when you need to specify something in one of the two fields, but not the other.

The '-' character is used to specify ranges For example "10-12" in the hour field means "the hours 10, 11 and 12." The ',' character is used to specify additional values. For example "MON,WED,FRI" in the weekday field means "the days

Monday, Wednesday, and Friday."

The '/' character is used to specify increments. For example "0/15" in the minute field means "the minutes 0, 15, 30, and 45". And "5/15" in the minute field means "the minutes 5, 20, 35, and 50". Specifying '*' before the '/' is equivalent to spec-ifying 0 is the value to start with. Essentially, for each field in the expression, there is a set of numbers that can be turned on or off. For minutes, the numbers range from 0 to 59. For hours, 0 to 23, for days of the month 0 to 31, and for months 1 to 12. The "/" character simply helps you turn on every "nth" value in the given set. Thus "7/6" in the month field only turns on month "7", it does NOT mean every 6th month, please note that subtlety.

The 'L' character is allowed for the day of month and weekday fields. This character is short-hand for "last", but it has dif-ferent meaning in each of the two fields. For example, the value "L" in the day of month field means "the last day of the month" - day 31 for January, day 28 for February on non-leap years. If used in the weekday field by itself, it simply means "6" or "SAT". But if used in the weekday field after another value, it means "the last xxx day of the month" - for example "5L" means "the last friday of the month". When using the 'L' option, it is important not to specify lists, or ranges of values, as you'll get confusing results.

The 'W' character is allowed for the day of month field. This character is used to specify the weekday (Monday-Friday) nearest the given day. As an example, if you were to specify "15W" as the value for the day-of-month field, the meaning is: "the nearest weekday to the 15th of the month". So if the 15th is a Saturday, the trigger will fire on Friday the 14th. If the 15th is a Sunday, the trigger will fire on Monday the 16th. If the 15th is a Tuesday, then it will fire on Tuesday the 15th. However if you specify "1W" as the value for day of month, and the 1st is a Saturday, the trigger will fire on Monday the 3rd, as it will not 'jump' over the boundary of a month's days. The 'W' character can only be specified when the day of month is a single day, not a range or list of days.

The 'L' and 'W' characters can also be combined for the day of month expression to yield 'LW', which translates to "last weekday of the month."

The '#' character is allowed for the weekday field. This character is used to specify "the nth" XXX day of the month. For example, the value of "5#3" in the day-of-week field means the third Friday of the month (day 5 = Friday and "#3" = the 3rd one in the month). Other examples: "1#1" = the first Monday of the month and "3#5" = the fifth Wednesday of the month. Note that if you specify "#5" and there is not 5 of the given day-of-week in the month, then no firing will occur that month. If the '#' character is used, there can only be one expression in the day-of-week field ("3#1,5#3" is not valid, since there are two expressions).

The legal characters and the names of months and days of the week are not case sensitive.

Overflowing ranges is supported - that is, having a larger number on the left hand side than the right. You might do 22-2 to catch 10 o'clock at night until 2 o'clock in the morning, or you might have NOV-FEB. It is very important to note that overuse of overflowing ranges creates ranges that don't make sense and no effort has been made to determine which interpretation CronExpression chooses. An example would be "0 0 14-6 ? * FRI-MON."

Skybot Scheduler supports an asterisk ('*') in either or both the day of month and weekday fields . When it is found, it (or one) is replaced internally with a '?'

(33)

Commands

Skybot Scheduler User Guide 33

-Commands

Use the Commands section to set up commands, return codes (doesn't apply to IBM i commands), and fail actions for the job. You can use a shared command set, use a shared IBM i shared command set, manually enter a command, or use one of the Skybot Scheduler command builders.

Manual Command or IBM i Command

If you don't want to use a shared command set, a shared IBM i command set, or a command builder, you can manually add a new command to the job.

1. Click Add and select Command.

2. Enter the command or script in the Command column. Notes:

Theexitsystem command should be used with caution on Windows. Whenexitis used in a command, it immediately ends the current process before Skybot Scheduler is finished evaluating the results. Using the parameter/bcan help.

The Windowstimeoutcommand should be avoided when writing commands in Skybot Scheduler. It will prevent the job from completing. Thetimeoutcommand waits for user input (even if the'/NOBREAK'

option is used) and this interferes with Skybot Scheduler determining when a command has completed. If you're adding a call to vlaunch.exe, consider using theWindows Desktop Application Command window

instead of manually adding it here. The advantage is that the Windows Desktop Application Command win-dow automatically builds the correct syntax for doing the call. However, if you must add it here, use the fol-lowing syntax:

windows path\vlaunch.exe" "command.exe parm1 parm2 parm3

This passes the command string, including all parameters, to the Skybot Agent Transponder for execution, and continues with the next job command without waiting for the results.

windows path\vlaunch.exe" /W "command.exe parm1 parm2 parm3

This stops and waits for the command to execute via the Skybot Agent Transponder, and gets a return code from the command that can be tested.

If your Skybot Scheduler license is bundled with SEQUEL, and you're adding commands for an IBM i agent, click the list icon to see which commands are available to add.

3. Click the value in theReturn Codecolumn, then click the pencil ) next to the value to open the Select Return Code window. You can enable and select a shared return code, or create an individual return code for this com-mand. (Return codes don't apply to IBM i commands.)

Clickherefor return code guidelines.

(34)

Commands

Action window. Select an item from the When command fails list. You can choose: Fail Job (the job will end and show a status of Failed), Continue to next Command (this command will fail, but the job will continue to run with the next command), Retry command before Failing Job, and Retry command before continuing to next Command. If you select either of the "retry" choices, you must enter the Number of Retries and the time to Wait Between Retries in seconds.

Click Save when you're finished.

Note: If a job has an IBM i command that doesn't pass validation on the IBM i agent, the command retry settings are ignored (Fail Job/ Continue to next Command settings are still used). The job log will contain messages about the invalid parameter, but no retries will be attempted. An example of an IBM i command that would fail to validate is:SNDMSG MSG(string will not validate) TOUSR(myuser). It contains an unquoted string with a space in it.

5. Repeat for each command you need to add manually.

File Transfer (FTP)

You can use the command builder to add a File Transfer command to the job.

Select File Transfer from the drop-down list. The File Transfer Command window opens. Note: You must create aFile Transfer Systembefore you can add an FTP command.

File Transfer System: Select a File Transfer System to work with.

Direction: Select file transfer direction. Push means you send a job to the remote system. Pull means you will retrieve a file from the remote system.

Remote File Name: Enter the name of the file on the remote system you want to work with. Agent File Name: Enter the name of the file on the agent system you want to work with.

Replace existing target file: Select if you want to replace an existing file. If you do not select this option, and there is a duplicate file, it causes an error.

Delete the source file after transfer: Select if you want the source file in the FTP directory deleted after the transfer is complete.

Transfer Type: Select the FTP mode. Select Binary when transferring applications or other information you don’t want encoded. Select Text when transferring text.

(35)

Commands

Skybot Scheduler User Guide 35

-Click Save to save your file transfer command. Skybot Scheduler writes the FTP syntax for you automatically. Notes:

IBM Power Systems (System i, iSeries, AS/400) servers with IFS require the following SITE commands in order to successfully complete the file transfer: listfmt 1; namefmt 1.

File Transfer commands use the following return codes: 0 - return code for successful completion

1 - return code for any failure of file transfer

2 - return code only for failure to delete source file (not for file transfer failure)

Informatica Cloud Task

You can use the command builder to create a Skybot Scheduler job that runs an Informatica Cloud task.

Select Informatica Cloud Task from the drop-down list. The Informatica Cloud Task Command window displays. Note: You must create anInformatica Cloud server definitionbefore you can add an Informatica Cloud task command.

Server Definition: Select the Informatica Cloud server definition to connect to. Task Type: Select task type code from the list, or type it in the box if it's not listed. Task Name: Type the name of the task or task flow that this command should run.

Continue Immediately: Select this if you want this task started, but don't need Skybot Scheduler to monitor or wait for the task to complete.

(36)

Commands

Click Save to save your Informatica Cloud Task command.

Informatica Workflow

You can use the command builder to create a Skybot Scheduler job that runs an Informatica workflow. Select Informatica Workflow from the drop-down list. The Informatica Workflow Command window displays.

Note: You must create anInformatica PowerCenter system definitionbefore you can add an Informatica Workflow com-mand.

System Definition: Select the Informatica PowerCenter system definition to connect to. Integration Service Name: Select the Integration Service to use inside the repository. Folder Name: Select the folder within the selected repository.

Workflow: Select the Workflow to execute.

Task Instance Path: To start the Workflow at a specific task, enter the path to the task. The Task Instance Path is period delimited, so you may specify tasks that are nested in worklets. For example, "w1.task1" would run 'task1' in worklet 'w1' inside of the selected workflow. If you do not enter a path, the job runs the entire Workflow.

Check the box to only run the task specified above.

Operating System Profile: Enter the operating system user for the Workflow. Run Instance Name: Enter a run instance name for running the Workflow.

Retrieve Log: Select this check box if you want to include the Workflow log in the Skybot job log.

Parameters: To pass parameters to the Workflow, provide the name of an existing parameter file or create a new parameter list.

If you are creating a new parameter list:

You must enter a value in the Scope column.

Do not add [brackets] around the value you enter for the scope. The Informatica web service adds the brack-ets to whatever is passed in for the scope.

(37)

Commands

Skybot Scheduler User Guide 37

-Click Save to save your Informatica Workflow command.

Oracle Concurrent Request

You can use the command builder to create a Skybot Scheduler job that runs an Oracle Concurrent Request.

Select Oracle Concurrent Request from the drop-down list to add an Oracle concurrent request command. The Oracle Concurrent Request Command window opens.

(38)

Commands

System Definition: Select an Oracle system definition for this concurrent request.

Wait: Select the Yes check box if you want Skybot Scheduler to wait until the submitted concurrent request is com-pleted before marking the Skybot job as complete.

Program Application Shortname: Enter the application shortname from Oracle.

Concurrent Program: Enter the name of the Oracle concurrent program to be used for this request.

Program Name: Enter the program name you want to give this concurrent request. Or, you can leave this blank to use:Skybot Job Name(run number).

How a job displays in Oracle depends on what, if anything, is entered into this box. If you enter a program name, it will display in Oracle as: "Program Name (Concurrent Program Name)". If you leave this box blank, it will display as: "Skybot Job Name(run number) (Concurrent Program Name)". Notice that the run number is only displayed if you leave this box blank.

To add the parameters for this concurrent request, click Add Parameters. Then, enter the parameter Name (which can be anything because the name is for your reference only) and the Value (which must be a legitimate param-eter value). The order of the paramparam-eters must match the requirements for the Oracle application. You can add more than one parameter. To delete a parameter, click the X at the end of the row.

To pass null parameters to CONSUB, use ' " " ' without spaces (quote double-quote double-quote single-quote) for each null parameter.

In the following example, FND is the shortname for the Application Object Library, FNDCPPGS is the Concurrent Pro-grams Report, and the parameter value of FND limits the report to Concurrent ProPro-grams in the FND (Application Object Library). Once the request in this example is submitted on the Oracle system, it will have a Name of "Skybot Job (Con-current Programs Report)."

(39)

Commands

Skybot Scheduler User Guide 39

-Click Save to save your Oracle concurrent request command.

SAP NetWeaver Event

You can use the command builder to create a Skybot Scheduler job that raises an event on an SAP system. This allows you create reactivity in your network based on an SAP Event occurring.

Select SAP NetWeaver Event from the drop-down list. The SAP NetWeaver Event Command window opens. Note: You must create anSAP system definitionbefore you can add an SAP NetWeaver Event command.

System Definition: Select an SAP System Definition.

System Environment: Select an environment to use with the System Definition. If you have not defined an envi-ronment for this definition, it uses the default envienvi-ronment that you set up in the System Definition.

(40)

Commands

Event Parameters: Add event parameters, if necessary.

Note: You can use the Event Parameters option with Skybot variables topass information throughduring a job.

Click Save to save your SAP NetWeaver Event command.

SAP NetWeaver Job

You can use the command builder to create a Skybot Scheduler job that runs an SAP NetWeaver job. Select SAP NetWeaver Job from the drop-down list. The SAP NetWeaver Job Command window opens. Note: You must create anSAP system definitionbefore you can add an SAP NetWeaver Job command.

Filtering Job Definitions: Use System Definition and System Environment to limit the available Job Definitions to choose from.

(41)

Commands

Skybot Scheduler User Guide 41

-You can use the command builder to create a Skybot Scheduler job that runs a process chain on an SAP system. This allows you create reactivity in your network based on an SAP process chain running.

Select SAP NetWeaver Process Chain from the drop-down list. The SAP NetWeaver Process Chain Command window opens.

Note: You must create anSAP system definitionbefore you can add an SAP NetWeaver Process Chain command. System Definition: Select an SAP System Definition.

System Environment: Select an environment to use with the System Definition. If you have not defined an envi-ronment for this definition, it uses the default envienvi-ronment that you set up in the System Definition.

Process Chain: Type or select the SAP process chain you want to run. Note: This must match the technical name of a process chain in the SAP system selected above.

Long Description: Type or select the long description from the process chain you want to run.

Note: If you begin typing the first few letters of either the process chain or the long description, you can click the down arrow and select from a list of available items that are pulled from SAP based on what you typed. Also, if you enter the name of a process chain, the long description associated with it is automatically pulled from SAP. The reverse is also true; if you enter a valid long description, the corresponding process chain name is pulled from SAP.

Click Save to save your SAP NetWeaver Process Chain command.

SAP NetWeaver Variant

You can use the command builder to create a Skybot Scheduler job that modifies an SAP ABAP Variant. Select SAP NetWeaver Variant from the drop-down list. The SAP NetWeaver Variant Command window opens. Note: You must create anSAP system definitionbefore you can add an SAP NetWeaver Variant command.

System Definition: Select the SAP NetWeaver System Definition to use for this command.

System Environment: Select an environment to use with the System Definition. If you have not defined an envi-ronment for this definition, it uses the default envienvi-ronment that you defined in the System Definition.

Program: Enter the name of the SAP ABAP program.

Variant: Select or enter the variant. If the ABAP program entered doesn't contain any variants, the list will be empty. Parameters: Click Add Parameters to add additional variant parameters to be changed by this command. Click OK to save the parameter. You can add multiple parameters, but only existing parameters may be entered. This com-mand doesn't add new parameters to a variant.

(42)

Commands

Click Save to save your SAP NetWeaver Variant command.

SQL Server Job

You can use the command builder to create a Skybot Scheduler job that runs a SQL Server Job.

Select SQL Server Job from the drop-down list to add a SQL Server Job command. The SQL Server Job Command win-dow displays.

Note: You must create aSQL Server definitionbefore you can add a SQL Server Job command. SQL Server Definition: Select a SQL Server Definition to work with.

Job Name: Enter a SQL Server job name that is valid with the Server Instance defined in the SQL Server Def-inition.

(43)

Commands

Skybot Scheduler User Guide 43

-Click Save to save your SQL Sever Job command.

Web Service Request

Select Web Service Request from the drop-down list to add a web service request command. The Web Service Request Command window displays. The information you enter in this window will vary greatly depending on which web service you're trying to access. See the documentation for that web service for additional help.

It is possible to run a web service request command and pass values from the response directly into subsequent com-mands or web service requests. For more information, see "Passing Values from a Web Service Response into a Sub-sequent Web Service Request" under theSkybot Support Self-Service tabon our website.

Note: You mustcreate a web server definitionbefore you can add a web service request command. Web Server Definition: Select the web server definition to which you're going to send the request.

Description: Enter a description of what this request does. Keep in mind that what you enter will be included in the command text.

Runtime Environment Variables: Type the name of a runtime environment variable that you want to use as a parameter in this command and press Enter. You can use system variables, Skybot variables, and agent envi-ronment variables. Repeat for each variable you want to use as a parameter. This allows you to take advantage of variables that have already been created. To remove a variable from the list, click the X next to it.

Base URL: This is automatically displayed when you select a web server definition. If what's showing is incorrect, you mustedit the web server definitionin order to change it.

(44)

Commands

Request Method: Select the method (GET, POST, PUT, or DELETE) for this web service request.

Header Properties: Click Add to add a header property for this request. In the Name column, select or type the header name (max length is 128 characters). In the Value column, type the value of this header property (max length is 1024 characters). You can add more than one header. Use the up and down arrows by each row to change the order of the header lines. To remove a header, click the X at the end of the row.

Request Parameters: Click Add to add the parameters for this request. In the Name column, type the parameter name (max length is 128 characters). In the Value column, type the value for this parameter (max length is 1024 characters). You can use the runtime environment variables. Also, you can add more than one parameter. Use the up and down arrows by each row to change the order of the parameters. To remove a parameter, click the X at the end of the row.

Message Body Override: If you are using either a POST or PUT method, you can create an override for the mes-sage body. Select one of the following.

None: Select this if you don't want to override the message body.

String: Select this to replace the message body with a particular XML string. Then, type the string you want used. Select the box to URL Encode the string. Note: If you select URL Encode, you must define a 'Con-tent-Type' header property. If you fail to do so, one is automatically added at runtime on the agent so that the web service request can run.

File Content: Select this to replace the message body with the contents of a file. Then, type the file path (including the file name).

Response Handling:

Log Body to Console/Joblog: Select an option. Allowing the response body to be logged to the con-sole/joblog may provide extended information about any errors that were generated.

Note: The response headers are always logged.

(45)

Commands

Skybot Scheduler User Guide 45

-Select Windows Desktop Application from the drop-down list to add a command to launch a GUI application on a Win-dows agent system. The WinWin-dows Desktop Application Command window displays.

Enter a valid command to open a GUI application from your Skybot Scheduler browser session. For example, note-pad.exe.

Notes:

You must have the Agent Transponder running on the agent system for this command to work. See more infor-mationhere.

The command must be an executable file (.exe, .bat, etc.) and include any required parameters. Only executable files that require interaction with a GUI window should be defined with this type of command. Commands that do not require interaction with the desktop environment should be added as standard commands.

Managing the Commands Table

When you are finished adding a command, you should adjust the Return Code and Fail Action settings, if necessary. To make other changes to the commands you have created:

Select a command to edit it.

To delete a command from the job, click the red X at the end of the row.

Select a command and click the up or down arrows to change the order in which the job runs the command. The first command listed runs first; the second command runs next, and so on.

(46)

File Transfer Command

File Transfer Command

Use the Command section of theJob settings pageto add a file transfer to a Skybot Scheduler job. Select File Transfer from the drop-down list. The File Transfer Command window opens.

Note: You must create aFile Transfer Systembefore you can add an FTP command. File Transfer System: Select a File Transfer System to work with.

Direction: Select file transfer direction. Push means you send a job to the remote system. Pull means you will retrieve a file from the remote system.

Remote File Name: Enter the name of the file on the remote system you want to work with. Agent File Name: Enter the name of the file on the agent system you want to work with.

Replace existing target file: Select if you want to replace an existing file. If you do not select this option, and there is a duplicate file, it causes an error.

Delete the source file after transfer: Select if you want the source file in the FTP directory deleted after the transfer is complete.

Transfer Type: Select the FTP mode. Select Binary when transferring applications or other information you don’t want encoded. Select Text when transferring text.

(47)

File Transfer Command

Skybot Scheduler User Guide 47

-File Transfer commands use the following return codes: 0 - return code for successful completion

1 - return code for any failure of file transfer

(48)

Informatica Cloud Task Command

Informatica Cloud Task Command

Use the Command section of theJob settings pageto add an Informatica Cloud task to a Skybot Scheduler job. Select Informatica Cloud Task from the drop-down list. The Informatica Cloud Task Command window displays. Note: You must create anInformatica Cloud server definitionbefore you can add an Informatica Cloud task command.

Server Definition: Select the Informatica Cloud server definition to connect to. Task Type: Select task type code from the list, or type it in the box if it's not listed. Task Name: Type the name of the task or task flow that this command should run.

Continue Immediately: Select this if you want this task started, but don't need Skybot Scheduler to monitor or wait for the task to complete.

(49)

Informatica Workflow Command

Skybot Scheduler User Guide 49

-Informatica Workflow Command

Use the Command section of theJob settings pageto add an Informatica Workflow to a Skybot Scheduler job. Select Informatica Workflow from the drop-down list. The Informatica Workflow Command window displays.

Note: You must create anInformatica PowerCenter system definitionbefore you can add an Informatica Workflow com-mand.

System Definition: Select the Informatica PowerCenter system definition to connect to. Integration Service Name: Select the Integration Service to use inside the repository. Folder Name: Select the folder within the selected repository.

Workflow: Select the Workflow to execute.

Task Instance Path: To start the Workflow at a specific task, enter the path to the task. The Task Instance Path is period delimited, so you may specify tasks that are nested in worklets. For example, "w1.task1" would run 'task1' in worklet 'w1' inside of the selected workflow. If you do not enter a path, the job runs the entire Workflow.

Check the box to only run the task specified above.

Operating System Profile: Enter the operating system user for the Workflow. Run Instance Name: Enter a run instance name for running the Workflow.

Retrieve Log: Select this check box if you want to include the Workflow log in the Skybot job log.

Parameters: To pass parameters to the Workflow, provide the name of an existing parameter file or create a new parameter list.

If you are creating a new parameter list:

You must enter a value in the Scope column.

Do not add [brackets] around the value you enter for the scope. The Informatica web service adds the brack-ets to whatever is passed in for the scope.

(50)

Informatica Workflow Command

References

Related documents

The reservoir engineering topics covered range from basic reservoir rock and fluid characteristics to reservoir management, modeling and field development planning and

From this screen you can enter the relevant details such as the To Do reference number, select the date the To Do must be completed by, activate an alarm if necessary, allocate the

This will cause all kinds of problems such as high blood pressure, stress on your adrenals not to mention reduced absorption of nutrients in your body during digestion.Failing to

This will load the Summary of Cover Page. If you scroll to the bottom of this page you will see a list of available documents... Click the Doc Icon to view the relevant

In the Task list (main window of WinTask x64 Scheduler), right click the task you want to schedule 11?. and in the context menu select

Skybot Software is backed by Help/Systems, LLC, an industry leader in automated operations and job scheduling since 1982 with its products for the IBM i (System i, iSeries,

The electronic notary shall endorse the oath on the face of the bond, immediately below the oath, by signing the electronic notary’s name under which the person has

•  Receive mentoring in doctoral program (especially in first years) •  Research into barriers; disseminate successful program elements •  Build a national coalition