Posted by Kim Andrι Akerψ on 03/19/06 13:19
Ian Collins wrote:
> mysitesucks@gmail.com wrote:
> > how can i make my php script run every 6 hours using cron jobs with
> > php only?
> >
> Same as any other cron job.
>
> 0 0,6,12,18 * * * <wherever your PHP is> <your script>
Or just:
0 */6 * * * <path to PHP> <path to script>
Oh, and remember to use full pathnames in the script when running it
from cron (unless you're fetching it via the web server).
--
Kim AndrΓ© AkerΓΈ
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
[Back to original message]
|