Process Jobs are batch files or scripts stored in the Fabric server and triggered manually from the Command Line for scheduled execution.
Create a bash script and save it in /home/k2view/ directory.
For example, save the following code into /home/k2view/echoArg.sh
#!/bin/bash
echo "Total Arguments : $#"
echo "1st Argument = $1"
echo "2nd Argument = $2"
Invoke the startjob command to trigger the job with the relevant parameters.
bash
startjob process NAME='/home/k2view/echoArg.sh' UID='processJobtest' ARGS='{"0":"ARG 1 value","1":"ARG 2 value"}' EXEC_INTERVAL='00:00:03';
Where:
Process Jobs are batch files or scripts stored in the Fabric server and triggered manually from the Command Line for scheduled execution.
Create a bash script and save it in /home/k2view/ directory.
For example, save the following code into /home/k2view/echoArg.sh
#!/bin/bash
echo "Total Arguments : $#"
echo "1st Argument = $1"
echo "2nd Argument = $2"
Invoke the startjob command to trigger the job with the relevant parameters.
bash
startjob process NAME='/home/k2view/echoArg.sh' UID='processJobtest' ARGS='{"0":"ARG 1 value","1":"ARG 2 value"}' EXEC_INTERVAL='00:00:03';
Where: