This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
pawel5939
What is the best way to set scheduled tasks (Artisan commands ) within plugins? Laravel does it in app/Console/Kernel.php and you can also do it in the Vendor folder in October (I don't feel that this is a good place for plugin related tasks scheduling).
in particular:
protected $commands = ['namespace\classname'];
protected function schedule(Schedule $schedule)
{
$schedule->command('commandname');
}
I can't find in the documentation how to best handle this within plugins.
Last updated
planetadeleste
I think you are looking for that: http://octobercms.com/docs/help/installation#crontab-setup
1-3 of 3