View Single Post
  #1  
Old 12-03-2012, 10:05 AM
 
Thomasb134 Thomasb134 is offline
 

X-Adept
  
Join Date: Apr 2007
Location: USA
Posts: 789
 

Default 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.
__________________
Thomas / USA
XCart V4.4.5 Gold
XCart Mobile V1.4.12
XCart X-PDF
XCart X-HotProducts
AlteredCart Checkout One (One Page Checkout)
BCSE Back In Stock
CFL Holiday Message
CFL System Message
Smack Digital (WebsiteCM) Remember Anon Carts
xcartmods Testimonials
xcartmods reCAPTCHA for X-Cart Classic
Unix, PHP 7.0 (patched 5.4).
MySQL 5.6
Reply With Quote