[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Cron
- Subject: Re: [cobalt-developers] Cron
- From: Ramón Batalla <ramon_batalla@xxxxxxxx>
- Date: Sun Feb 24 23:33:00 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Test to add this line in your /etc/crontab file:
15 0,6,12,18 * * * root lynx -dump http://www.domain.com/cron.php >
/dev/null
^^^^^^^^^^^^^^^^^^
Change this time definitions triggers as need
Hope this help.
R.Batalla
----- Original Message -----
From: <wwisew@xxxxxxxxx>
To: <cobalt-developers@xxxxxxxxxxxxxxx>
Sent: Sunday, February 24, 2002 10:16 PM
Subject: RE: [cobalt-developers] Cron
I have tried it but I have another problem:
Cron always tell me that the file doesn't exist, where should I put
the file
that cron reconized it....?
Cron Message:
/bin/sh: /home/sites/home/import.php
: No such file or directory
Cedric
-----Message d'origine-----
De : cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]De la part de Matthew
Nuzum
Envoyé : dimanche, 24. février 2002 16:53
À : Cobalt Dev
Objet : Re: [cobalt-developers] Cron
Compile PHP as a cgi module. Then you can run it from the command
line
to do all of your scripts. Just put:
#!/usr/bin/php
as your sh-bang.
There's a great article on www.phpbuilder.com. Check out:
http://www.phpbuilder.com/columns/darrell20000319.php3
Matt Nuzum
On Sun, 2002-02-24 at 07:08, wwisew@xxxxxxxxx wrote:
That could help to setup a Cron with a .PHP scripts... What should
I
do...
Cedric
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers