Reference > System URLs > Scheduler URLs


AddBroadcastJob URL

This URL schedules a broadcast job for the WebSphere Commerce scheduler.


URL structure

http:// host_name/path/

The fully qualified name of the WebSphere Commerce Server and the configuration path

Diagram of the URL structure: The URL starts with the fully qualified name of the WebSphere Commerce Server and the configuration path, followed by the URL name, AddBroadcastJob , and the ? character. End the URL with a list of parameters in the form of name-value pairs. Separate each <a href=name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />


Parameter values

http:// host_name/path/

The fully qualified name of the WebSphere Commerce Server and the configuration path

langId

Sets or resets the preferred language for the duration of the session; the supported languages for a store are found in the STORELANG table

storeId

The reference number of the store associated with this command

URL

Required: The URL to be called when the command completes successfully

name

The user on whose behalf the scheduler runs the job. This parameter is pulled from the LOGONID column in the USERREG table

pathInfo

Required: The WebSphere Commerce command the executes for this job. In the following example, the pathInfo is "CleanJob":

request=wcs/servlet/CleanJob?endTime=0100

queryString

The parameters of the command to run. In the following example, the queryString is "endTime=0100": request=wcs/servlet/CleanJob?endTime=0100 All special characters, such as =, &, /, and ?, must be encoded.


Example 1

This example adds a broadcast job:

http://myhostname/webapp/wcs/stores/servlet/AddBroadcastJob?pathInfo='/
InterestItemDisplay'&URL=basemall.jsp&name=login999


Example 2

The following example schedules a job which will run the RefreshRegistry command, providing it with the parameter &registryName=top. It will run on behalf of the user wcsadmin, starting immediately:

    http://myhostname/webapp/wcs/stores/servlet/AddBroadcastJob?name=wcsadmin
   
&pathInfo=RefreshRegistry&queryString=registryName%3DStoreRegistry%26URL%3D%2F&URL=/


Behavior


Exception Conditions

None.


Related concepts

Scheduler

Jobs


Related tasks

Schedule a broadcast job

Related reference

ActivityCleanUp URL

AddJob URL

CleanJob URL

EditJob URL

PaySynchronizePM URL

RaiseECEvent URL

RemoveJob URL

ScheduledDataDeploy URL

SchedCoupon URL

TicklerUnlockMonitor URL

System URLs


+

Search Tips   |   Advanced Search