I\'m using PHP 7 on CentoOS 7 system. The following line
exec(\'echo "\'.$some_cron_content.\'" | crontab -\');
edits