[Phpwm] RE: Phpwm Digest, Vol 58, Issue 6

Chris Allen pickledegg at hotmail.co.uk
Wed Mar 21 13:09:09 GMT 2007


>On debian, am I right in thinking that in order to run a php script every 
>month, I just copy the file into the cron.monthly folder? ( I'll stick with 
>the global date/time settings for now.)
>Are there any naming conventions apart from the fact it has to be 
>lowercase?
>Also if I want to run the file in the cron.monthly folder to test it, what 
>would I type?

Excuse my ignorance, I've had a re-think and answered my own question.

I've created a .sh file in the monthly folder containing the following:

#!/bin/sh
wget -O /dev/null http://www.website.com/crontest.php

e voila!

_________________________________________________________________
Solve the Conspiracy and win fantastic prizes.  
http://www.theconspiracygame.co.uk/




More information about the Phpwm mailing list