R
R
Ruslan Akhmetov2017-02-07 18:52:22
Yii
Ruslan Akhmetov, 2017-02-07 18:52:22

How to make controller in yii2 without display and how to access it?

Hello! I am just starting to learn yii2, at the moment there is a need for my project to run a certain script via cron and add the received data to the database. The question is, is it necessary to create a view for the controller if it should not display anything, but only perform a logical operation, in this case, just parse a certain page on the Internet and fix it in the database. If possible, how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2017-02-07
@misterslan

Good afternoon.
Use the Console Application(Creating your own c...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question