About CRON JOBS - finally I found a solution (working for me)!
Some hosting companies do not allow using wget and curl in cron jobs (for security reasons) - this was and my case. I am using USU 5 PRO r205 on Oscommerce 2.2RC2 and PHP 5.3 for my site. Hosting Server is running PHP 5.6
errors like:
Warning: include_once(): Failed opening 'includes/application_top.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/USER/public_html/googlesitemap/index.php on line 49
PHP Warning: require_once(googlesitemap/sitemap.class.php): failed to open stream: No such file or directory in /home/USER/public_html/googlesitemap/index.php on line 51
in all scripts, that have include('includes/application_top.php'), include_once('includes/application_top.php'), require_once('googlesitemap/sitemap.class.php') .......
the solution (example is with googlesitemap folder and script):
set cron job command like this - cd /FULL PATH/googlesitemap && /usr/local/php5.3/bin/php -c /FULL PATH TO CATALOG/php53-fcgi.ini index.php
cd - most importatnt - setting the correct dirrectoy to run the script
php53-fcgi.ini - my custom php.ini file to use PHP 5.3 for my website
FULL PATH - looks like /home/USER/public_html/ or /home/USER/public_html/YOURSITE/ etc.
FULL PATH TO CATALOG - maybe the same as FULL PATH
index.php - this is the index file in googlesitemap directory, that I must run to update sitemap xml files.
nikibarudov