arunbabulavu - 1 year ago

How set Cron job in a controller.

Please provide step by steps process.

huglester - 1 year ago


controller can only process something.

Cron is mean to run controller, which would run the code/script/etc.

ryanthompson - 1 year 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: