Talk:Run PHP from cron

= Source = The script and everything is still in tact, if you think this article is useful you may rewrite it. The source and installation can be found here: http://armormatic.com/code/cronsite/

The log file is created in the same directory as the script itself. The file is called "sc.log".

Caenym 15:48, 29 May 2008 (PDT)

= Log File Location = I just wanted to point out that this article fails to mention where the log file can be found, when checking to see if the cron job ran properly. I believe this information would be worth including in this article. -Wikitonic
 * Crontab sends an email to {your dh username}@{your machine name}.dreamhost.com -- Theraven 00:27, 11 January 2008 (PST)
 * Dreamhost now requires all crontabs to have a MAILTO directive. For no e-mail notifications, enter MAILTO=""; for notice of all crontab activity, be it success or failure, provide an e-mail address, e.g., MAILTO="user@server.com" Dhvrm 06:09, 14 May 2008 (PDT)

Proposal for speedy deletion
This article requires a script that no longer exists at the source. I suggest speedy deletion. Dhvrm 09:15, 12 May 2008 (PDT)


 * I agree. - Rlparker 21:28, 12 May 2008 (PDT)

= Page Revised = I have rewritten the article and it no longer requires the perl script. Hopefully in the future if someone is looking for an easy way to run PHP scripts automatically with cron this page will be helpful. In its previous state it did not help me, so once I found a solution I decided to edit this article. Kalimantan kid 15:01, 31 May 2008 (PDT)
 * Thanks for taking the time to do that, and I agree with you that since the page is now useful again, it should no longer be considered a candidate for speedy deletion. - Rlparker 16:37, 31 May 2008 (PDT)


 * Except that this page was originally intended to solve the problem of customers writing to tech support that when using the exact method you just posted their PHP scripts didn't run correctly because of environment variables expected, wrong php version and a host of other random issues. That's why the script was originally written. - Caenym 13:46, 18 June 2008 (UTC)


 * You make a good point about the PHP version issue, so I added some additional guidance for that. Any contributions you would like to make regarding the ramifications of environment variables or other random issues would probably help the article and would be appreciated. - Rlparker 06:38, 19 June 2008 (UTC)


 * You're welcome to recreate the page with the information I have at http://armormatic.com/code/cronsite/ :) Caenym 01:21, 4 July 2008 (UTC)