...
Code Block |
---|
<?xml version="1.0" encoding="iso-8859-1"?> <job timeout="600" title="Cron Job /path_to_file/file.sh &gt;&gt;>> /path_to_file/file.log 2&gt;&amp;2>&1"> <extensions> <extension xmlns="www.sos-berlin.com/schema/joe"> <generator date="2013-02-21 11:46:18" name="CronConverter" vendor="www.sos-berlin.com"> <docu>*/30 * * * * /path_to_file/file.sh &gt;&gt;>> /path_to_file/file.log 2&gt;&amp;2>&1</docu> </generator> <comment/> </extension> </extensions> <script language="shell"><![CDATA[ echo created by CronConverter, at 2013-02-21 11:46:18 /path_to_file/file.sh >> /path_to_file/file.log 2>&1 ]]></script> <run_time> <period repeat="00:30"/> </run_time> </job> |
...
Code Block |
---|
<?xml version="1.0" encoding="iso-8859-1"?> <job order="yes" timeout="600" title="Cron Job /path_to_file/file.sh &gt;&gt;>> /path_to_file/file.log 2&gt;&amp;2>&1"> <extensions> <extension xmlns="www.sos-berlin.com/schema/joe"> <generator date="2013-02-21 11:46:18" name="CronConverter" vendor="www.sos-berlin.com"> <docu>*/30 * * * * /path_to_file/file.sh &gt;&gt;>> /path_to_file/file.log 2&gt;&amp;2>&1</docu> </generator> <comment/> </extension> </extensions> <script language="shell"><![CDATA[ echo created by CronConverter, at 2013-02-21 11:46:18 /path_to_file/file.sh >> /path_to_file/file.log 2>&1 ]]></script> </job> |
...
Code Block |
---|
<?xml version="1.0" encoding="iso-8859-1"?> <job_chain> <extensions> <extension xmlns="www.sos-berlin.com/schema/joe"> <generator date="2013-02-21 11:46:18" name="CronConverter" vendor="www.sos-berlin.com"> <docu>*/30 * * * * /path_to_file/file.sh &gt;&gt;>> /path_to_file/file.log 2&gt;&amp;2>&1</docu> </generator> <comment/> </extension> </extensions> <job_chain_node error_state="error" job="file.sh" next_state="success" state="100"/> <job_chain_node state="success"/> <job_chain_node state="error"/> </job_chain> |
...
Code Block |
---|
<?xml version="1.0" encoding="iso-8859-1"?> <order title="GlobalCollect/path_to_file/file.sh"> <extensions> <extension xmlns="www.sos-berlin.com/schema/joe"> <generator date="2013-02-21 11:46:18" name="CronConverter" vendor="www.sos-berlin.com"> <docu>*/30 * * * * /path_to_file/file.sh &gt;&gt;>> /path_to_file/file.log 2&gt;&amp;2>&1</docu> </generator> <comment/> </extension> </extensions> <run_time> <period repeat="00:30"/> </run_time> </order> |
...
Open JOC and you see the new objects.