Difference between revisions of "Job Scheduler"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 4: Line 4:


=== Scheduling a Job ===
=== Scheduling a Job ===
# '''Settings > Data Management > Job Scheduler'''
# Visit '''Settings > Data Management > Job Scheduler'''
# Click '''[New Job]'''
# Click '''[New Job]'''
# Fill in the Job Parameters:
# Fill in the Job Parameters:
Line 18: Line 18:
:: Only classes that have been designed to be [{{DOCHOST}}/javadocs/com/platform/api/Schedulable.html schedulable] are listed for selection.
:: Only classes that have been designed to be [{{DOCHOST}}/javadocs/com/platform/api/Schedulable.html schedulable] are listed for selection.
::''Learn more:'' Using the Java API to [[Java API:Schedule a Job|Schedule a Job]].
::''Learn more:'' Using the Java API to [[Java API:Schedule a Job|Schedule a Job]].
===Viewing Jobs===
To view the list of job records:
# Visit '''Settings > Data Management > Job Scheduler'''
{{SearchFilterView|Job records}}
To see jobs currently in the queue (the [[Scheduled Job Log]]) and their status:
# Visit '''Settings > Monitor > Scheduled Job Log'''
{{SearchFilterView|Scheduled Jobs}}


=== Stopping a Job ===
=== Stopping a Job ===
Line 25: Line 34:


===Job Limits===
===Job Limits===
By default, a maximum of 25 jobs can be run on any given day.
The number of jobs that can be run on any given day is determined by your billing plan.
{{ #ifeq: {{SITENAME}}
|ISV Support Wiki
|That value can be changed using [[Manage Tenant Capabilities]]:
:'''Tenant Management System > _Tenants_ > {Tenant} > Quick Links > _Manage Tenant Capabilities_ > Max.Job Count'''
 
|That value can be changed at the discretion of your ISV.}}
<noinclude>
<noinclude>


[[Category:Data Management| 4.5]]
[[Category:Data Management| 4.5]]
</noinclude>
</noinclude>

Revision as of 01:02, 29 July 2011

Settings > Data Management > Job Scheduler

With this operation, you can schedule a job that will carry out operations defined in a Java class.

Scheduling a Job

  1. Visit Settings > Data Management > Job Scheduler
  2. Click [New Job]
  3. Fill in the Job Parameters:
    • Job Name - The name that will appear in the job list
    • Select a Schedulable Class - Choose a class from the list. (See the note below.)
    • Repeating Frequency - Make a selection here to run the job automatically at specified intervals.
    • Activation Date - Choose the date for the initial activation.
    • Activation Time -
    • End Date - When a Repeating Frequency is chosen, this section appears. Specify the last date
    • Run As - Choose the user to run the job as. (Only users with permissions equal to or less than your own are listed.)
Note
Only classes that have been designed to be schedulable are listed for selection.
Learn more: Using the Java API to Schedule a Job.

Viewing Jobs

To view the list of job records:

  1. Visit Settings > Data Management > Job Scheduler
    Job records are displayed in a View.
  2. Use standard Searching and Filtering operations to determine which records are displayed.

To see jobs currently in the queue (the Scheduled Job Log) and their status:

  1. Visit Settings > Monitor > Scheduled Job Log
    Scheduled Jobs are displayed in a View.
  2. Use standard Searching and Filtering operations to determine which records are displayed.

Stopping a Job

Once a job has been created, use the options available in the list view to delete it.

Notepad.png

Note: Only the entry in the scheduling queue is deleted. If the job is currently running, it runs to completion.

Job Limits

The number of jobs that can be run on any given day is determined by your billing plan.