views:

20

answers:

0

Hi Folks,

I need a help to write code in php following server generate .pdf file at /root/datatools/report folder, which works with firefox well i need to write a php and get run in cron can same help me with this i dont coding in php or any other scripting.

we want to watch the report folder and if any request comes get report for the day so we should grep that date and mail to said id

and this is ubuntu server with litespeed web server php5/mysql and tcpdf which generate .pdf files.

sorry for my english.

watch grep -i to today date /root/datatools/report/IntegraMed-echo "$(date)".pdf wget http://173.xxx.xxx.xxx/datatools_raj/Modelmetrics-echo "$(date)".pdf [email protected]