Wednesday, January 27, 2010

Pulmonary Fibrosis Life Expectancy Symptoms

UNICAL_INFO - Run PHP script at regular intervals of time not















Run PHP script at regular intervals

Date: Wednesday, July 31 @ 17:44:47 EDT

Topic:
WebProject



Running PHP scripts as cronjobs


(...)
dilema The first depends on your PHP installation
:



  • Compiled CGI
  • Apache module

Compiled CGI
In the first case you'll have to
add a line to your script. It must the first line of your
script and must contain PHP executable location:


#!/usr/local/bin/php -q


After that let's add the necessary command to our
crontab. Edit /etc/crontab (or wherever your crontab file is)
and add the following line:


* * * * *
php /path/to/your/cron.php


execute the following from the command line:


Shell>
crontab crontab


Be
sure cron.php has the necessary permissions to be
executable.


Apache module

If you have PHP
installed as an Apache module the approach is quite
different.

First of
all you need access to lynx (read here for
more information).
You PHP script does not need additional
lines in this case. You simply have to edit your /etc/crontab
file and add the following line:


* * * * *
lynx -dump http://www.somedomain.com/cron.php


Note you generally have to specify the compete URL:
depending on your lynx configuration the URL should be
But I always suggest its use to the absolute reference
like in the example above, since it always works.


Again execute
The following from the command line:


Shell> crontab crontab

(...)



in practice we have applied the so
, using,

telnet / usr / bin / crontab-e
for the execute every 5 minutes,
a php file

################################################## #############
MAILTO = ""
* / 5
* * * * lynx-dump
http://dominio/path_del_file/file.php
####### ################################################## ######
with
MAILTO = "" not to receive an email every five minutes with
dump file generated by php


What Does Our php file?



  • check your email to reporter@elinux.economia.unical.it

  • for each new message

    • if there is an attachment

      • decodes
      • saves in a folder
      • add a record to the MySQL database for the portal
        write a new article with the data from the message

      • delete the message processed

    • if there is an attachment

      • delete the message








This article comes from UNICAL.INFO
http://elinux.economia.unical.it/


The URL for this story:
http://elinux.economia.unical .com / modules.php? name = News & file = article & sid = 118

Tuesday, January 26, 2010

Can Gonorrhe Be Dormant

MY FACTORY COM is online!

Today we present ...

http://www.mycomfactory.com/

for now only the home page ... but we are coming!

Sunday, January 24, 2010

Stream South Park Songs



Friday, January 22, 2010

Will Pokemon Gold Work With Wpa

It 's time for Apple Pie

the weekend arrives and I start work. It 's time for Apple Pie. Yes, because cooking is how to do a project, how to grow a garden: it takes passion, patience and enthusiasm. It takes first the desire to create something beautiful and well done.

Obviously the joy of my boyfriend will increase if all these good intentions materialize Apple Pie in a hot oven.

So: get set, go. Start preparing the dough with flour, a pinch of salt, butter and a glass of ice water and butter. Founded

the ball of dough very carefully the wrap with plastic wrap and I put in the refrigerator to rest for at least forty minutes. With the amount of flour because the son was abbondande forum said they almost always lacked the dough for the coverage of the Apple Pie! And an Apple Pie without cover ... is not an Apple Pie.

At this point the filling step. Peel apples and cut into thin slices. I put them in a bowl and add the juice of one lemon and its zest. Up Next: flour, salt, cinnamon, vanilla, nutmeg, a cup of sugar. And mix together. Comes out a real treat: eat it raw too.

the past 40 minutes, I take the dough from the refrigerator and divide into two balls of similar size. I spread the ball well and use it to line my cake pan. I place the filling enriched with melted butter, roll out the second ball and that covers my Apple Pie necessary decorate with the remaining dough (I made of stylized leaves, very stylized:) edges to crush them well with a fork.

Now is the time of the oven, preheated to 200 and lowered to 180 and 170 during cooking.

And the Apple Pie is cooked when it is browned on the surface but also very resistant to the bottom.

Very Delicious: served with a scoop of vanilla ice cream 