/usr/bin/php /home/kmarkiv/***/***.php
Sorry for the delayed reply ..
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.cgi -f
RewriteRule ^(.*)$ $1.cgi
is the code for apache rewrite to hide .cgi extension
the cron job php code is php /home/kmarkiv/***/***.php
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.cgi -f
RewriteRule ^(.*)$ $1.cgi