Here is an example of what to put in your crontab file to run the script every monday at midnight.
# crontab -e 0 0 * * 1 /usr/local/bin/php /home/ryan/myscript.php You can generate any cron sequence you need at this website: http://www.webmaster-toolkit.com/cron-generator.shtml
<?php
// the message
$msg = "First line of text\nSecond line of text";
// use wordwrap() if lines are longer than 70 characters
$msg = wordwrap($msg,70);