Skip to main content
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution
Amhomco
New

Cron job issue on Linux Cpanel

cd /home/opsusw9b23ua/admin.ahcdata.us; php bin/cake.php salesAutomation
this command works from terminal But not crone

1 ACCEPTED SOLUTION

@Amhomco 

For the cron job you shouldn't need the cd /.... - You just need to put in the path to the file.

 

In terms of the 500 error - I suggest looking at your PHP error log

 

I am a GoDaddy End User - Just Like You
Check out my site! | I currently manage over 300 WordPress Websites
* Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

Once your issue is resolved,
please be sure to come back and click accept for the solution

Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community

View solution in original post

2 REPLIES 2
Amhomco
New

This we are getting as log:

Status: 500 Internal Server Error
X-Powered-By: PHP/7.3.23
Content-type: text/html; charset=UTF-8

 

@Amhomco 

For the cron job you shouldn't need the cd /.... - You just need to put in the path to the file.

 

In terms of the 500 error - I suggest looking at your PHP error log

 

I am a GoDaddy End User - Just Like You
Check out my site! | I currently manage over 300 WordPress Websites
* Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

Once your issue is resolved,
please be sure to come back and click accept for the solution

Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community

View solution in original post