sendevent - A rather naive and incomplete remake of the "sendevent" tool.
sendevent [options]
Specify the event to be sent. See man page for list of possible events.
Specify the target job of this event (if any). The job name must be fully qualified, i.e. no wildcards may be used.
Specify the start time for the event, i.e. the event will be queued and send by the system when the specified time is reached. Timespec should look like: 'mm/dd/yyyy HH:MM:SS'.
Specify the job status for the event CHANGE_STATUS. See man page for a list of possible states.
Specify the AutoSys' database dsn to connect to. COMPATIBILITY NOTE: this option does not exist in CA's original sendevent tool.
Specify the AutoSys' database server to connect to. Either this option or the dsn option above must be given. Please note, that when specifying this server option, a Sybase database backend is assumed. COMPATIBILITY NOTE: this option does not exist in CA's original sendevent tool.
Specify the database user. With an out-of-the-box AutoSys installation, the default user should work. COMPATIBILITY NOTE: this option does not exist in CA's original sendevent tool.
Specify the database password. With an out-of-the-box AutoSys installation, the default password should work. COMPATIBILITY NOTE: this option does not exist in CA's original sendevent tool.
Print a brief help message and exits.
Prints the manual page and exits.
This program will send an event a la CA's original sendevent tool. Please be aware that this tool does not perform the security checks like AutoSys' original sendevent, i.e. it allows you to send events to virtually all jobs & boxes on an AutoSys instance - regardless if you have been allowed to or not by the job creator.
Quick overview of possible events in alphabetical order:
ALARM CHANGE_PRIORITY CHANGE_STATUS CHECK_HEARTBEAT CHK_BOX_TERM CHK_MAX_ALARM CHK_N_START CHK_RUN_WINDOW COMMENT DELETEJOB EXTERNAL_DEPENDENCY FORCE_STARTJOB HEARTBEAT JOB_OFF_HOLD JOB_OFF_ICE JOB_ON_HOLD JOB_ON_ICE KILLJOB QUE_RECOVERY REFRESH_BROKER RESEND_EXTERNAL_STATUS SEND_SIGNAL SET_GLOBAL STARTJOB STOP_DEMON
Quick overview of possible states for event CHANGE_STATUS in alphabetical order:
ACTIVATED FAILURE INACTIVE ON_HOLD ON_ICE QUE_WAIT REFRESH_DEPENDENCIES REFRESH_FILEWATCHER RESTART RUNNING STARTING SUCCESS TERMINATED
The following options are not yet implemented: -A Alarm, -P Event Priority, -G Global=Value, -C Comment, -U (Un-SENDEVENT), -K Signal(s)
Sinisa Susnjar <sini@cpan.org>
To install CA::AutoSys, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CA::AutoSys
CPAN shell
perl -MCPAN -e shell install CA::AutoSys
For more information on module installation, please visit the detailed CPAN module installation guide.