<?php

namespace App\Console\Commands;

use Illuminate\Console\Command;
use App\Models\Cron_testing;

class cron extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'app:cron';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Command description: data base entry';

    /**
     * Execute the console command.
     */
    public function handle()
    {
        $data = new Cron_testing;
        $data->record = "testing add";
        $data->save();
    }
}
