cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to use wget instead of php in cron for Magento 2 (old question)

Is it possible to use wget instead of php in cron for Magento 2 (old question)

 

THis is what adobe team answered

"I think the answer to the question is straightforward - no, you cannot use wget instead of php in cron in Magento 2. And we are not likely to add this by default due to security ramifications."

 

Nobody seems to question this answer. They want to run the cron from a user account that has default more privileges than via the webuser that has more restrictions.

Running the cron job via wget/curl allows for php restrictions to be in place, like limit exection time, like the openbase dir.

The command line does not have that at all. How can that be more secure.

 

Thus please elaborate on this. Maybe your team has evaluated this incorrectly and implemented exactly the opposite something less secure.

 

 

 

I do not know how to reply to this old thread[1].

 

[1]

https://community.magento.com/t5/Just-Ask-Alan/Is-it-possible-to-use-wget-instead-of-php-in-cron-for...