ricardo santos Posted August 11, 2016 Share Posted August 11, 2016 hi cronjob code: | php -q /home/admin/domains/arvandweb.net/crons/pipe.php error: /bin/sh: -c: line 0: syntax error near unexpected token `|' /bin/sh: -c: line 0: `| php -q /home/admin/domains/domain/crons/pipe.php' control panel: directadmin version whmcs: 6.3.1 thanks / - - - Updated - - - Occurred before the subject typo: hi cronjob code: | php -q /home/admin/domains/arvandweb.net/crons/pipe.php error: /bin/sh: -c: line 0: syntax error near unexpected token `|' /bin/sh: -c: line 0: `| php -q /home/admin/domains/domain.com/crons/pipe.php' control panel: directadmin version whmcs: 6.3.1 how to fix this thanks / 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted August 12, 2016 WHMCS Support Manager Share Posted August 12, 2016 Hi, There doesn't seem to be much info on troubleshooting piping emails to a file in DirectAdmin that I could locate. The most recent thread I could find was from 2013: https://forum.directadmin.com/archive/index.php/t-46830.html That seems to suggest trying the fill path to PHP: | /usr/local/bin/php -q /home/admin/domains/arvandweb.net/crons/pipe.php 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.