public function getCronCommand()
    {
        $phpBinaryFinder = new PhpExecutableFinder();
        $php = $phpBinaryFinder->find();
        $command = 'cd ' . str_replace(' ', '\ ', GRAV_ROOT) . ';' . $php . ' bin/grav scheduler';

        return "(crontab -l; echo \"* * * * * {$command} 1>> /dev/null 2>&1\") | crontab -";
    }
public function getCronCommand()
    {
        $phpBinaryFinder = new PhpExecutableFinder();
        $php = $phpBinaryFinder->find();
        $command = 'cd ' . str_replace(' ', '\ ', GRAV_ROOT) . ';' . $php . ' bin/grav scheduler';

        return "(crontab -l; echo \"* * * * * {$command} 1>> /dev/null 2>&1\") | crontab -";
    }
public function getCronCommand ( ) { $ phpBinaryFinder = new PhpExecutableFinder ( ) ; $ php = $ phpBinaryFinder -> find ( ) ; $ command = 'cd ' . str_replace ( ' ' , '\ ' , GRAV_ROOT ) . ';' . $ php . ' bin/grav scheduler' ; return "(crontab -l; echo \"* * * * * {$command} 1>> /dev/null 2>&1\") | crontab -" ; }
Helper to get the full Cron command

@return string
Helper to get the full Cron command