You are here: Re: [PHP] cron job style php... « PHP « IT news, forums, messages
Re: [PHP] cron job style php...

Posted by Randy Johnson on 01/17/05 01:20

Russel,

Yes you can run a cron job on php

You may have to add a line like this at the top, it has been awhile since I
have done it]

#! /usr/local/php/sapi/cli/php

this line would be different for your system

-Randy
----- Original Message -----
From: "Russell P Jones" <rjones@email.unc.edu>
To: <php-general@lists.php.net>
Sent: Sunday, January 16, 2005 6:00 PM
Subject: [PHP] cron job style php...


>I have written a simple script that when a date in an array matches todays
> date, it sends an email (notifies me when bills are due). Any ideas on how
> to make this run once a day? Can you do a cron job on a PHP prog?
>
> Russ Jones
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

 

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

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