瀏覽代碼

Se incluye script para ejecutar trabajo exchange-pesos-dolar.ktr

Oscar Leiva 7 年之前
父節點
當前提交
87dd54dc0a
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      exchange-peso.sh

+ 5 - 0
exchange-peso.sh

@@ -0,0 +1,5 @@
+#!/bin/bash
+echo "`date '+%a %d %b %Y   %T'` Cron called script" $0 >> /home/pentaho/pdi/log/cron.log
+echo "-------------- PDI Transformation: getExchangeRate.ktr ------------" >> /home/pentaho/pdi/log/cron.log
+sudo /home/pentaho/pdi/data-integration/pan.sh -file:"file:////home/pentaho/pdi/jobs/exchange-pesos-dolar/getExchangeRate.ktr" -level:Error >> /home/pentaho/pdi/log/cron.log
+echo "`date '+%a %d %b %Y   %T'` Job ended" >> /home/pentaho/pdi/log/cron.log