At Wed, 21 Apr 2004 14:22:56 -0600,
Mark Gardner wrote:
> 
> I'm Running SUSE LINUX 9.0 Professional
> 
> How do I get a PHP script "script.php" to run as a cron job?  I want it
> to run daily @ 3:00 AM 

man 5 crontab

No seriously.  It's actually a pretty good one that tells you how to
format a crontab file.  Basically you need something like this:

# Minute    Hour   MonthDay  Month  Weekday   Command
# ----------------------------------------------------------
    0       3         *       *       *       /path/to/script.php

Once you get the above file written you just run crontab on the file.
Unless you are having a problem with php, then I can't help.

Bryan

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to