|
Sybernet / Supplied Procedures Reference
Release 3.00 Oct 14, 2002 |
|
This procedure allows you to use SP_HTML_CRON_REGISTER to register UNIX scripts with Sybercron. That application program allows you to only select stored procedures from the current schema, thus to register a script you must either call SP_CRON_INSERT manually or you can use this stored procedure with the register.
Procedure SP_SYBERSCRIPT
(
SHELLSCRIPT VARCHAR2
, ARG1 VARCHAR2
, ARG2 VARCHAR2
, ARG3 VARCHAR2
, ARG4 VARCHAR2
, ARG5 VARCHAR2
, ARG6 VARCHAR2
, ARG7 VARCHAR2
, ARG8 VARCHAR2
, PLATFORM VARCHAR2
, SENDER VARCHAR2
) ;
| Parameter | Description |
|---|---|
shellscript |
The name of your script or executable. |
arg1 |
An optional argument passed to your script. |
arg2 |
An optional argument passed to your script. |
arg3 |
An optional argument passed to your script. |
arg4 |
An optional argument passed to your script. |
arg5 |
An optional argument passed to your script. |
arg6 |
An optional argument passed to your script. |
arg7 |
An optional argument passed to your script. |
arg8 |
An optional argument passed to your script. |
platform |
The name of the platform where Sybercron is running from. |
sender |
Your e-mail address. |
The following example illustrates how you might invoke this procedure manually:
http.sp_syberscript
(
shellscript => './ldapmodify'
, arg1 => 'ldif.update'
, platform => 'ORADEV'
, sender => 'nospam@nospams.com'
) ;