You are here: Re: Running php file everyday on scheduled time « PHP Programming Language « IT news, forums, messages
Re: Running php file everyday on scheduled time

Posted by bobmct on 10/02/56 11:53

sachu wrote:

> Hi,
> Is there is way to run a php file perodically everyday on scheduled
> time in such a way that there is no human interaction and it
> performence the written task.

I do this every night with several php scripts that DO things in an
unattended mode.

I make sure that I have the proper shebang (#!/usr/bin/php) as the first
statement of my script, then I create a cron job to run at the specified
time to execute the appropriate php script(s).

Works like a charm.

Bob

 

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

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