How set Cron job in a controller
Created 8 years ago by arunbabulavuHow set Cron job in a controller.
Please provide step by steps process.
ryanthompson
—
8 years ago
This is not how you would do things in a Laravel environment though. Try using the protected $scedule = []; property of any addon service provider. You can define schedules there: https://pyrocms.com/forum/channels/everything/laravel-scheduler#comment-1710
Hello,
controller can only process something.
Cron is mean to run controller, which would run the code/script/etc.