I do not understand what is the problem, you just add the
the time format as should be and put the following at the beginning of
your script:
#!/usr/local/bin/php -q (or your path to the php interpreter)
<?PHP
  php code here
?>

then you simply add the line (crontab -e)
0 3  * * * /area_backup/bin/sync.php [args]

hope it helps, and yes, this is probably the wrong list mate ;-)

Cheers,

On Tue, Sep 28, 2004 at 11:47:51AM -0400, John Nichel wrote:
> Juan Pablo Herrera wrote:
> >Hi!
> >I need make a cron file, for example a .job file:
> >#mi  ho    di    me    seq      job                        comment
> >45   11    *    *      0-5     php -q /home/test/test.php  # Make backup
> >How can make it?.
> 
> How about asking on the proper list?  Or Google?
> 
> Do we now add Cron to the list what this list supports?
> 
> -- 
> John C. Nichel
> ÜberGeek
> KegWorks.com
> 716.856.9675
> [EMAIL PROTECTED]
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 

Maciek Ruckgaber Bielecki



"All our lauded technological progress -- our very civilization - is like the axe in 
the hand of the pathological criminal." 
--Albert Einstein--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to