CentOS - crontab command from .sh executed through php
Would anyone know why the following file will not work when executed with php?
echo 'CRONTAB HAS BEEN UPDATED'
# end script
If I run mfd.sh from SSH : sh /home/dyluck/cron/mfd.sh
<? system('sh /home/dyluck/cron/mfd.sh',$rv);
it works find and updates crontab with the valuse in mfd.txt
if I run the cronmfd.php, nothing happens except the echo command.
Hopefully someone knows why this isn't working :(
Thanks in adance