每月使用cronjob进行Laravel 5.1通讯

I want to be able to send an automated email to all my users with the top 5 projects of my application. I wanna do this with a cron job on my server.

I have constructed my function in my Marketing class. I created an artisan command but I just have no idea if my method will work. I have no idea how I can get the data in my variables to send in the mail.

I am not sure if my variable $name, $email, $projects will work in the mail and if the mail will actually be sent every month. I just don't think this code will work. And I don't have time to wait a month to test it out :p

My SendNewslettterCommand:

public function handle()
{
    foreach(User::all() as $user)
    {
        $name = $user->name;
        $email = $user->email;
        $projects = "a query to find top 5 projects of the week";
        $Marketing = new Marketing;
        $Marketing->sendNewsletter($name, $email, $projects);
    }
}

My sendNewsletter function in my Marketing class:

public function sendNewsletter($name, $email, $projects)
{
    // In template content you write your dynamic content if you use <mc:edit> tags.
    $template_content = [];
    $message = array(
        'subject' => 'SP*RK - TOP 5 projecten van de maand!',
        'from_email' => 'noreply@spark.com',
        'from_name' => 'SP*RK',
        'to' => array(
            array(
                'email' => $email,
                'name' => $name,
                'type' => 'to'
            )
        ),
        'merge_vars' => array(
            array(
                'rcpt' => $email,
                'vars' => array(
                    array(
                        'name' => 'NAME',
                        'content' => $name
                    ),
                    array(
                        'name' => 'PROJECTS',
                        'content' => $projects
                    )
                )
            )
        )
    );

    MandrillMail::messages()->sendTemplate('newsletter', $template_content, $message);
}

If this is all correct my next steps would be to register my command in artisan by editing app/start/artisan.php and adding:

Artisan::add(new SendNewsletterCommand);

After this I should my command to my crontab Is this correct or not?