M
M
Maxim2018-03-18 22:33:40
Yii
Maxim, 2018-03-18 22:33:40

Yii How to make corn?

Hello! Can you tell me how to make a cron command? The script itself works when accessing the controller, but it does not work from the hosting. I use ihc.ru
Command:
I need the script to run once a day, at 9-00.
0 9 **** /usr/bin/wget -O /dev/null -q " crm.topjam.ru/sk-orto/backend/web/appointment/app-... "

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis, 2018-03-18
@myks92

Well, if you go to this link there, did you get the exception?
Have you taken into account that in crown tasks, there is no session, DOCUMENT_ROOT, etc.?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question