Hello
PLEASE CAN SOMEONE HELP ?
I tried almost everything and my CRON task don't work
I tried SHELL SCRIPT with CURL, with WGER, with PHP or without anything : nothing is working !
my script is : http://yep-mode.com/index.php?fc=module&module=xxxxxx&controller=cron
When I run it with the browser, everything is fine. When I run it with https://console.cron-job.org/ everything is fine (except that the limit is 30 seconds), but in aaPanel it simply doesn't work
I checked the logs :
CASE 1 : WITH CURL
curl http://yep-mode.com/index.php?fc=module&module=xxxxxx&controller=cron
★[2021-07-30 11:58:08] Successful
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 310 100 310 0 0 151k 0 --:--:-- --:--:-- --:--:-- 151k
Moved Permanently The document has moved here.
It looks line the commande line is TRUNCKED / not complete because when I click on "here" I see https://yep-mode.com/index.php?fc=module ONLY
CASE 2 : without CURL
http://yep-mode.com/index.php?fc=module&module=xxxxxx&controller=cron
/www/server/cron/bfe560425a1f8b6d77d4ac767a6c3ec6: line 4: http://yep-mode.com/index.php?fc=module: No such file or directory
★[2021-07-30 12:06:18] Successful
Here it is the same : the command line is not complete !
ANOTHER TEST : WITH HTTPS
Curl https://panel.marcheo.com/preashopdb.php
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
ANOTHER TEST : WITHOUT HTTPS
Curl http://panel.marcheo.com/preashopdb.php
/www/server/cron/cbd11122c7776c062006b3ffa6a8203f: line 4: Curl: command not found
ANOTHER TEST : WITHOUT HTTPS and WITHOUT CURL
http://panel.marcheo.com/preashopdb.php
/www/server/cron/50294a7039a9990302197dd189e24c65: line 4: http://panel.marcheo.com/preashopdb.php : No such file or directory
BUT THE FILE IS in the directory and working !
Thanks in advance for your help !
Best regards
FrenchMaster