Creating a cron job problem
I am really sorry for my bad english. I need to set up a cron job on my cpanel to receive emails and tweets on my ushahidi deployment. So I'm using a linux command that runs well by ssh. This is the "cd ~ / public_html / astilV10 / platform && ./bin/ushahidi incoming dataprovider" command. But when I write this command in the cron job, I have no result. I created a Linux script where I put this command and in a cron job, I put this "/ bin / sh /home/hialabgw/public_html/astilV10/cron.sh" but I still have not of result. please help me. thank you in advance
-
Hello @polo49, Can you manually run the command while logged in via SSH as the account user to verify that it works as expected from the command line? Thank you. 0 -
Thank you very much. Yes, this command works very well in my command line. I solved this problem using this command "cd / home / hialabgw / public_html / astilV10 / platform && / usr / local / bin / php -q bin / ushahidi incoming dataprovider". thank you for you answer 0 -
Hello @polo49, I'm glad to see the issue was solved. Thank you for sharing the outcome. 0
Please sign in to leave a comment.
Comments
3 comments