Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 31st August 2010, 18:59
rajatjpatel rajatjpatel is offline
Junior Member
Join Date: Apr 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Cron Job with litespeed pdf to mail

0 down vote favorite

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 MAILTO=rajatjpatel@gmail.com
Reply With Quote
Sponsored Links


cron jobs

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix problem and few questions Gimly Installation/Configuration 12 7th July 2009 17:27
Postfix + postfixadmin = SMTP errors... Rashef Server Operation 4 25th June 2009 17:12
just the last step...and it works. Postfix...need help config. ubuntusr Installation/Configuration 1 5th January 2009 10:50
Problem with dcc-client installation (Postfix) swap-as Installation/Configuration 9 18th September 2008 21:47
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 13:16

All times are GMT +2. The time now is 10:46.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.