You are here: Re: PHP and Crontab and Current Directory « PHP Programming Language « IT news, forums, messages
Re: PHP and Crontab and Current Directory

Posted by roger.moon2 on 04/26/07 12:02

On Apr 25, 10:26 pm, Rik <luiheidsgoe...@hotmail.com> wrote:
> Euhm, check my reply to your previous post?
>

Sorry about that, didn't show up and thought I had crossposted to too
many groups and got halted by anti-spam scripts.

Anyway your advice worked however the problem is I have to edit the
script everytime I run the program via Cron

Instead after some googling I found this method of instead:

00 11 * * * cd /home/user1/files/; /usr/local/bin/php test.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

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