W
W
WebDev2015-07-14 10:50:35
Laravel
WebDev, 2015-07-14 10:50:35

Laravel 4.2 cron?

Please tell me, preferably with an example, how to create a class for cron in laravel?
In the documentation, something like php artisan command:make FooCommand. An empty class is created in app/commands.
I have a controller method that needs to be called by cron, that is, I need to create a class that can be run, and which at the same time will have access to the entire project. How can I do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
andreyqin, 2015-07-14
@andreyqin

Maybe Dispatcher is for you

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question