So I understand, correct me if i am wrong, that your problem is just to
append a line to the file ?

if that is the case:
  
  //open and place pointer at the end of the file
  $fhandler = fopen("file",'a'); 
  fputs($fhandler,$string_with_code);
  fclose($fhandler);

if not, the case and you are having bad time trying to explain, i
  understand some spanish, so lets review it ;-)

Cheers
  
  
  On Tue, Sep 28, 2004 at 01:45:09PM -0300, Juan Pablo Herrera wrote:
> sorry, my cuestion is about the construction of the job file with php.
> I send parameters via POST: day, hours, minute, sentence for execuite with
> cron. This is cached for a php file that make the job file. Well, my
> problem is make this php file.I think to use file() for this, but maybe somebody 
> think other idea.
> 
> Regards,
> JP
> 
> > Jay Blanchard wrote:
> >> [snip]
> >> 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?.
> >> [/snip]
> >>
> >> Type crontab -e and the cron file will be opened....unless you're on a
> >> Windows machine....
> > in both cases, this is the wrong list to ask this.
> >
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 

Maciek Ruckgaber Bielecki



"I never think of the future. It comes soon enough." 
--Albert Einstein--

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

Reply via email to