Answer the question
In order to leave comments, you need to log in
Pass parameters to php via console (ssh)?
Hello!
There is a class.php script, you need to pass parameters to it, via the console, cron. I can't figure out what to do in this situation.
I tried this:
/usr/bin/php /var/www/site/data/www/folder.ru/folder/class.php host=2
Still not transferred, is it possible at all?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question