Command line graph execution on Linux

Support questions related to CloverETL Server

dflkid
Posts: 20
Joined: Mon Feb 23, 2015 8:57 am

Command line graph execution on Linux

Postby dflkid » Thu Mar 26, 2015 4:53 am

Is there a way to execute a graph on Linux on the commercial Clover Server product? I have a cron script that I'd like to be able to execute a graph when it finishes. I've seen many references to the command line capability, but I don't see any mention in the documentation so I have no clue where to start.

Thanks,
Andrew

kubosj
Posts: 372
Joined: Thu Jan 12, 2012 9:10 am

Re: Command line graph execution on Linux

Postby kubosj » Thu Mar 26, 2015 9:01 am

Hi Andrew,

You can utilize Simple HTTP API, namely operation "graph_run". You can invoke such URL using curl, wget, or similar tool from your Cron script.

You probably know that, but just for sure - Server contains Cron-like scheduler internally - Scheduling. So I guess you have some special requirement to use system-wide Cron.

I hope this helps.
Jaroslav Kubos
CloverCARE Support
CloverETL | Rapid Data Integration

Visit us online at http://www.cloveretl.com

dflkid
Posts: 20
Joined: Mon Feb 23, 2015 8:57 am

Re: Command line graph execution on Linux

Postby dflkid » Fri Mar 27, 2015 4:13 am

I'm using a cron job because I can't get shell commands to work when Clover runs them due to the user (tomcat) that Clover runs as. If I could specify a different account for Clover to use when it runs the shell commands, I would be good.

kubosj
Posts: 372
Joined: Thu Jan 12, 2012 9:10 am

Re: Command line graph execution on Linux

Postby kubosj » Fri Mar 27, 2015 10:04 am

Hi,

Unfortunately Server can execute scripts only under Tomcat account. What you can do:


Just please keep in mind that those options are potential security threat.

I hope this helps.
Jaroslav Kubos
CloverCARE Support
CloverETL | Rapid Data Integration

Visit us online at http://www.cloveretl.com


cron