. * * Version 0.1 * Author: Octavio Benedi Sanchez */ // This code instead will use current crontab configuration as source. exec('sudo crontab -l',$crontab_file); foreach($crontab_file as $line) { $crontab.=trim($line)."\n"; } $crontab_test=trim($crontab); if (empty($crontab_test)) { $crontab="# m h dom mon dow command\n"; } $html='