You are here: Re: crond « PHP Programming Language « IT news, forums, messages
Re: crond

Posted by shimmyshack on 06/05/07 09:03

On Jun 5, 7:21 am, Lammi <Lorenz.Lammersd...@gmail.com> wrote:
> you mentioned it in the subject of your post - use cron.
>
> http://unixhelp.ed.ac.uk/CGI/man-cgi?crontab+5
>
> it's possible to call a php script via cron directly or you call a
> small shellscript, that open the php, f. e.
>
> #!/bin/sh
>
> # execute php script
> # -q => quiet, suppress the php-header
> php -q /home/mysql/script.php

if you can use cron cos you are on windows, use cronw instead. You can
also register your script as a service and start that every day (the
service could self-stop after its work is done) then you could use a
line such as
"service name" start
in cron
I dont see a point to registering as a service, but I mention it just
for fun!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация