PHP and cron job [HELP] - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: PHP The Hypertext Preprocessor (https://www.supportforums.net/forumdisplay.php?fid=21) +---- Thread: PHP and cron job [HELP] (/showthread.php?tid=6410) |
PHP and cron job [HELP] - Skawke - 04-20-2010 I need help making a php file that will read text off of a website, and report back (email) I was going to combine it with a cron job, so cron job starts the .php file, php file reports back the website text, and cron job emails it to my email. I have very little php experience, so I need help RE: PHP and cron job [HELP] - Lord-Nikon - 06-13-2010 Get the cron to call your php script. Inside your script you can maybe use file_get_content() (http://www.php.net/file_get_contents) and use the php mailer (http://www.php.net/manual/en/function.mail.php) to send you the contents. The cron should purely be used to schedule the calling of the script. |