Search code examples
laravellaravel-4croncommand

Cron Job with Laravel 4


I'm trying to find out how to set up a cron job in Laravel 4, and the command I would need to run in artisan for it.

In Laravel 3, there were Tasks but these don't seem to be there anymore and there is no documentation as to how to do it...


Solution

  • Tasks have been replaced with commands, which are the same thing in Laravel 4, but integrated with Symfony's console component, and even more powerful than before.