Thanks FYI & Dr Byte for your replies. After trying a lot of things and hitting brick walls, while I'm not sure if I've resolved the issue...something has changed: I'm no longer getting any emails or error logs when the cron job runs.
I came across an internet reference to running cron jobs with a slightly different command - and that seemed to do the trick:
(with extra text in red compared to Zen Cart info)/usr/local/bin/php /home/<myUserID>/public_html/square_handler.php
A Question: Is there any way to confirm that token has been refreshed (no indicator that I can find in ZC Admin/Square dashboard)? I've set our ISP cPanel to receive an email "every time it runs a command which produces output". So...if there's no email generated and no error log, does that mean I can safely assume the cron job has run - and that no email is normal?
BTW:
- to try and force some cron job output - I tried (1) adding an extra line to the square_handler.php to force some output
, (2) changing setting in Square Config to always send an email (not just logging/emailing on errors) - but neither worked;echo "done";- FYI dbltoe, prior to attempting the solution above, I confirmed that Perl Module for https was installed.
Thanks again
Bookmarks