<?php
    ini_set('display_errors','1'); 
    error_reporting(E_ALL);
    include_once 'dbConnect.php';
    $startdate = trim($_POST['startdate']);
    $enddate = trim($_POST['enddate']);
    if (connect()){
        global $conn;       
        $query="SELECT electionNo FROM election ORDER BY electionNo DESC LIMIT 1";
        $details = $conn->query($query);
        while ($rows = $details->fetch_assoc())
            $election = $rows['electionNo'];
        $election=$election+1;
        $liststart= explode("T",$startdate);            
        $listend= explode("T",$enddate);    
        $start=$liststart[0]." ".$liststart[1];
        $end=$listend[0]." ".$listend[1];
        $year = substr($listend[0],0,4);
        $insertquery = "INSERT INTO election(electionNo,year,startTime,endtime) VALUES('$election','$year','$start','$end')";
        $insert = $conn->query($insertquery);
        if ($insert)
            echo 'Registered Successfully';     
        else
            echo 'No good';     
    }               
?>
I want to pass $start to a Cron Job to schedule the job. For example, if $start = '2018-03-20 12:00:00', the Cron Job should be as follows:
00 12 20 03 * php /home/Dropbox/WebServer/paramGen.php
Which means paramGen.php has to be run at 12:00 on 2018-03-20.
Is this possible and if so, how do I pass $start to the cron job?