View Single Post
  #6  
Old 08-08-2012, 04:37 AM
  ambal's Avatar 
ambal ambal is online now
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,121
 

Default Re: X-payment cannot login to Admin

Nishant,

> "php home/xxxx/public_html/cron.php" is this correct Syntax for Cron ?

Recommended format for crontab is:

0 0 * * * cd /full/path/to/xpayments ; /path/to/php/bin -f /full/path/to/xpayments/cron.php

0 0 * * * - to run script every day
cd /full/path/to/xpayments - to change dir to X-Payment folder on your server
/path/to/php/bin - path to PHP 5.3 CLI binary on your server
-f - to execute /full/path/to/xpayments/cron.php script

I'll update our knowledge base right away, too.

UPD: http://help.x-cart.com/index.php?title=X-Payments:Installation#Running_cron.php_script
__________________
Sincerely yours,
Alex Mulin
VP of Business Development for X-Cart
X-Payments product manager

Last edited by ambal : 08-08-2012 at 04:45 AM.
Reply With Quote