[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] Cron



Hello,

I have set The '/dev/null' at the end of the line, Should I put
www.domain.com or should that with the ip number, I Have only 1 site on the
first ip (Internal Lan IP, intranet) were the cron action should work, all
other sites are in the other IP number.

What should I do, some ideas?

Cedric

-----Message d'origine-----
De : cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]De la part de Ramón
Batalla
Envoyé : vendredi, 1. mars 2002 21:20
À : cobalt-developers@xxxxxxxxxxxxxxx
Objet : Re: [cobalt-developers] Cron


Hi Cedric,

The '/dev/null' is at end of the line, not in new line

....domain.com/cron.php > /dev/null

this is only for cron not send you ane msg. every time
run this line.

Hope this help.
R.Batalla

----- Original Message -----
From: <wwisew@xxxxxxxxx>
To: <cobalt-developers@xxxxxxxxxxxxxxx>
Sent: Friday, March 01, 2002 10:48 AM
Subject: TR: [cobalt-developers] Cron




-----Message d'origine-----
De : wwisew@xxxxxxxxx [mailto:wwisew@xxxxxxxxx]
Envoyé : jeudi, 28. février 2002 16:15
À : cobalt-developers@xxxxxxxxxxxxxxx
Objet : RE: [cobalt-developers] Cron


Hello,

I have tested to add into my Crontab to add this line but I always
receive
the same error message (It was working only one day)after :
/bin/sh: /dev/null
: Permission denied

What should I do to set the permissions right to use this .PHP with a
cron
action

Cedric

-----Message d'origine-----
De : cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]De la part de Ramón
Batalla
Envoyé : lundi, 25. février 2002 08:32
À : cobalt-developers@xxxxxxxxxxxxxxx
Objet : Re: [cobalt-developers] Cron


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

_______________________________________________
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