X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   X-Payments issues & questions (https://forum.x-cart.com/forumdisplay.php?f=50)
-   -   X-Payments missing cron job email (https://forum.x-cart.com/showthread.php?t=65546)

Thomasb134 12-03-2012 10:05 AM

X-Payments missing cron job email
 
X-Payments requires a daily scheduled cron job. Our host's server allows us to receive an email whenever a cron job is run, but this feature did not work with the stock cron.php script. A fix was provided by our host's tech support. They added an echo message to the cron.php as follows:

echo "XPayments Cron Job was launched";

This statement can be added at the top of the file on a text line directly below the leading <?php tag. With this echo the cron job now has an output that will trigger the email to be sent.

ambal 12-03-2012 11:26 PM

Re: X-Payments missing cron job email
 
Thank you for sharing, Thomas!


All times are GMT -8. The time now is 09:53 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.