Good afternoon, I have several tasks scheduled for users and it seems that many of them are not executed. I will give you an example because if I make the call from a browser window, it is executed correctly, but as a task it does not work for me. “get https://www.pomelosex.es/Backoffice/gesioimportdosCron.php?token=aquise put the token&job=1”
Token no valido
I have not put the correct token for security, but with the correct token directly in a browser it works but as a cron task it does not. Could it be because of the get call?
What command do you use?
with the quotes and the correct token this is the command “get https://www.pomelosex.es/Backoffice/gesioimportdosCron.php?token=aquise put the token&job=1”
Try
/usr/bin/wget https://www.pomelosex.es/Backoffice/gesioimportdosCron.php?token=aquise
1 Like
Perfect, thanks but the correct command that worked for me is “/usr/bin/wget” “htt…”