Thank you again
when i run it from shell using
su kaltura -c "/opt/kaltura/app/alpha/scripts/dwh/dwh_plays_views_sync.sh"
the content play number updated successfully ?!!!
although using cron job it doesn't
cat /etc/cron.d/kaltura-dwh
00 * * * * kaltura /opt/kaltura/dwh/etlsource/execute/etl_hourly.sh -p /opt/kaltura/dwh -k /opt/kaltura/pentaho/pdi/kitchen.sh
00 * * * * kaltura /opt/kaltura/dwh/etlsource/execute/etl_update_dims.sh -p /opt/kaltura/dwh -k /opt/kaltura/pentaho/pdi/kitchen.sh
59 0,4,8,12,16,20 * * * kaltura /opt/kaltura/dwh/etlsource/execute/etl_daily.sh -p /opt/kaltura/dwh -k /opt/kaltura/pentaho/pdi/kitchen.sh
30 12 * * * kaltura /opt/kaltura/dwh/etlsource/execute/etl_perform_retention_policy.sh -p /opt/kaltura/dwh -k /opt/kaltura/pentaho/pdi/kitchen.sh
0 10 * * * kaltura /opt/kaltura/app/alpha/scripts/dwh/dwh_plays_views_sync.sh >> /opt/kaltura/log/cron.log
i check also # cat /var/log/cron | grep "00:10" -B2 -A2
Jan 23 00:01:02 KaltureServer anacron[25786]: Jobs will be executed sequentially
Jan 23 00:01:02 KaltureServer anacron[25786]: Normal exit (0 jobs run)
Jan 23 00:10:01 KaltureServer CROND[29111]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Jan 23 00:15:01 KaltureServer CROND[32064]: (apache) CMD (/opt/kaltura/app/alpha/crond/kaltura/clear_cache.sh 2>&1 >> /opt/kaltura/log/cron.log)
Jan 23 00:20:01 KaltureServer CROND[34724]: (root) CMD (/usr/lib64/sa/sa1 1 1)
As you will notice in the kaltura-dwh hours is only "0" so i fix it to "00", is that should cause a problem ?